Sitemap

Amicuk Programming Answers

Error while trying to access WebService using WSIF

2015-10-11   Views:0

Advertisement

Hi All, I am a new developer to WebServices. I read up information on how to create the WSDL and stubs using JDev 10g (10.1.2) using the wsa.jar that ships with the download. After creating my WSDL and the necessary proxies, when I try to run my clie

Hi All,
I am a new developer to WebServices. I read up information on how to create the WSDL and stubs using JDev 10g (10.1.2) using the wsa.jar that ships with the download. After creating my WSDL and the necessary proxies, when I try to run my client application (which runs in the same covatiner, standalone OC4j), I get the below error :
06/09/29 13:42:21 org.apache.wsif.WSIFException: [email protected] : Could not invoke 'getOrderList'; nested exception is:
org.apache.wsif.WSIFException: Error while determining signature of method getOrderList : The meta information is not consistent.; nested exception is:
org.apache.wsif.WSIFException: parameters
06/09/29 13:42:21 at org.apache.wsif.providers.ejb.WSIFOperation_EJB.executeRequestResponseOperation(WSIFOperation_EJB.java:1259)
06/09/29 13:42:21 at org.apache.wsif.base.WSIFClientProxy.invoke(WSIFClientProxy.java:339)
06/09/29 13:42:21 at $Proxy3.getOrderList(Unknown Source)
I am trying to expose a Stateless Session EJB as a WebService, which contains a method called getOrderList(). This method returns an array of a complex type (Java Bean).
I am, however, able to succesfully access the WebService using the SOAP/HTTP protocol.
My client code is as follows:
WSIFServiceFactory factory = WSIFServiceFactory.newInstance();
WSIFService service = factory.getService("<path to wsdl>", null, null, "http://sample.com/", "OrderService");
orderService = (OrderService) service.getStub("WsifEjb", OrderService.class);
Not sure what am I missing here. If any further information is required in order to resolve this, please let me know.
Thanks,

The replay answer
Advertisement
You are trying to get 2 databases connected... so, you need to insure that FDEV can find and connect to ABCD.
So, from your FDEV database server, you can do 2 things (from command prompt):
1* tnsping ABCD (this will validate that the entry exists in your tnsnames.ora on your FDEV server, and that a valid listener can be found on remote server)
when above command succeeds:
2* sqlplus apps/[email protected];
when you have established the connection, then you are SURE that your can connect ABCD database from FDEV database server. It will also validate the username / password combination, create session privilige, account not locked, etc.....
Please check the above, and post here the results.
HTH,
Thierry

Go to See the other 6 answers

Error while trying to access WebService using WSIF

Category:DefaultRelease time:2015-10-11Views:130

Hi All, I am a new developer to WebServices. I read up information on how to create the WSDL and stubs using JDev 10g (10.1.2) using the wsa.jar that ships with the download. After creating my WSDL and the necessary proxies, when I try to run my clie[More]

InvalidSecurity Error while accessing Webservice

Category:DefaultRelease time:2015-10-11Views:130

Hi, I am getting an "*InvalidSecurity*" error while accessing webservice. Below is the error, which I got while invoking the webservice : <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"> <env:Header/> &l[More]

Error while accessing WebServices from remote Server

Category:DefaultRelease time:2015-10-11Views:130

Hi Friends, I am trying to access webservice located on a remote server.But I am getting the following eror... stackTrace -*- java.lang.NullPointerException      at org.apache.axis.message.MessageElement.addTextNode(MessageElement.java:1396)      at[More]

MSS error while trying to access Adobe forms

Category:DefaultRelease time:2015-10-11Views:130

Hi all We are using EP 7 sp14. Delpoyed ESS/MSS BP SP 14. while trying to access certain functionalities in MSS which make use if standerd Adobe interactive forme through portal its coming up with the following error. com.sap.engine.services.webservi[More]

Problem in accessing webservice over https with auth cert enabled...Urgent

Category:DefaultRelease time:2015-10-11Views:130

Hi All, I am stuck in accessing webservices using ssl and auth certificate. I am using jdk 6 and it is not any issue with the problem I am facing... This is what I do... I have a webservice deployed which is accessible over https. On server, I run..[More]

Error during JNDI lookup Accessing Remote EJB (access to web service restricted using declarative security model)

Category:DefaultRelease time:2015-10-11Views:130

Hello everyone, I developed a Web Service prototype accessing remote EJB using the EJB control with special syntax in the jndi-name attribute: @jws:ejb home-jndi-name="t3://10.10.245.70:7131/AccountDelegatorEJB" Everything works fine, but I get[More]

Accessing Webservice

Category:DefaultRelease time:-0001-11-30Views:130

Dear all I need to implement the following scenario. I have given the option that a function can be call as web service. At this point every thing is ok. In the client side they have an application in .NET, to link this to they have installed a Clien[More]

Access webservices through SSL

Category:DefaultRelease time:-0001-11-30Views:130

HI! I want to access webservices through SSL. I could config the SOA suite to connect to (for example) Enterprise Manager Console through SSL (https://localhost:4443/em), but when I want to try to access a webservice through SSL (https://bonus4:4443/[More]

Server Crash with Error Message: Illegal memory access. [54]

Category:DefaultRelease time:2015-10-11Views:130

Hi I searched old posts where it reads that upgrade to BEA JRockit(R) R27.1 might solve this problem. I am already running BEA JRockit(R) R27.1 Here is the complete dump information. This is one time occurance on production system so we do not have a[More]

We have two users that have been using Creative Cloud for almost a year. Recently, sometime in the last 4ish weeks, the users can no longer run Creative Cloud apps. (Yes, our subscription is paid.) Error simply says administrator access is required

Category:DefaultRelease time:2015-10-11Views:130

We have two users that have been using Creative Cloud for almost a year. Recently, sometime in the last 4ish weeks, the users can no longer run Creative Cloud apps. (Yes, our subscription is paid.) Error simply says administrator access is required t[More]

Error when trying to access the RBAC User editor and Message tracking

Category:DefaultRelease time:2015-10-11Views:130

Hi, I am getting an error when trying to access the RBAC User editor and Message tracking on the Web Mgmt interface. I verified that the admin account trying to access is in the Organization Management group and has the correct Role Assignment Policy[More]

Hot
Well, this has been going on for a long time and I've had my absolute fill of it tonight. I have purchased a large collection of movies from iTunes that for mainly the reason that I have a new computer, my old films no longer exist as downloaded iTun [More]
Hi... I've pretty much started from scratch again and went through the add/remove program to remove all traces of iTunes/Quicktime and loaded the Quicktime standalone programme there. Tried to download iTunes then and again received the following mes [More]
I am a fan of using the many of the Mac OS, iLife and other Apple applications together and just purchased iWork '09. I'd never done mail merges in previous versions of Pages, but I decided to try today with my Address Book data. I stumbled across so [More]
What is the minimum speed Telstra guarantees ADSL 2+ to connect at? I asked a Telstra sales person what the minimum speed was they said the minimum was 8 Mb/s. I asked for that in writing but they could not find it, nor could they find the minimum sp [More]
I am acquiring analog data, then trying to output a DC voltage of 5V at a specific time. I get the error that the resource is reserved. I'm guessing the DAC can't be used to input and output on the same device at the same time? Below is a picture of [More]
Anytime I want to watch a video on the internet it says I must install a flash player so I go on line and download Adobe Flash player. But once I shut my computer down the flash player goes away.Try a clean install as described in http://forums.adobe [More]
Hi, I am stuck deploying  mds to soa 12c server using maven. Would be appreciate if someone please help me. Regards, MustaqueYou could try Edwins comment. "You can use the normal soa deploy plugin, just zip the mds artifacts and deploy it just like a [More]
My WRT54G has been great so far, but when under the challenge of running a radio station, 80% of the time it fails to work. I am with firmware version v1.05.3. Before solving the current solution can anyone direct me to the latest firmware update? Im [More]
Hi All, I've a doubt in OMSK for the valuation class 3041(ERSA) is it necessary to use the account reference key should be 0003(reference for spares) because i've used 0001 (reference for raw materials ) will this affect the account flow in any way. [More]
I find it hard to believe that the only way to back up my iTunes music library is to do it using 30+ CD-Roms - - that is so 1998! Does anyone know how to back up an iTunes library using an external hard drive or even a thumb drive? I can't seem to fi [More]