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
Currently, we have an application, which is able to measure your heart rate by using camera to capture human face. we plan to add in 1 new feature into our app Let the application runs in stealth mode background, acquire camera resource and perform c [More]
Hello there! I have right now updated from 10.8.2 to 10.8.3 and from Safari 6.0.2 to 6.0.4. I was trying to download something through adfly however it wasn't loading and suggestd I install the latest version of Flash... So I tried again and again an [More]
Can any one help me in setting an all day event. Am using wcap to create an all day event. if i set the start date as 20070824T020000Z and isAllDay to 1.The event get scheduled on 23 of aug.Do i need to pass any other parameter along with isAllDay pa [More]
Hi I have a scenario where XMl enters the XI and out put is in the form of flat file. XML Structure <Record>    <item1>         <F1>             <a>              <b>           </F1> </item1> </Record> Is it [More]
Am running 7 Pro 32bit OS on a Toshiba L550 i5duo / quad thread core 4 RAM 500G HD Ati radeon premium. Up to now I had the F11 function working perfectly and recently it has stopped working at all. Then after completing a restore - which lost my Kasp [More]
I receive my corporate voicemail in email but the file comes in a windows media format. Is there a plug-in or other method to play these files on my 3g iPhone?You can't do this with the iPhone as it will not play WMA files. There does not appear to b [More]
What do I need to do to correct this?HIi, Can you post the file with only the board outline? Tien P. National InstrumentsRead other 2 answers [More]
I just upgraded to DW 5.5 included in my master collection, I'm connecting to FTP no problem, but I'm unable to upload to the ROOT folder only. I can upload to any other folder, for example, images in the assets, swf in the flash folder etc. Premissi [More]
Please can you advise, Recently the scanner stopped working on my HP B109NZ all in one printer. The error message says that another program has control of the scanner. After reading the HP blogs I uninstalled the HP software from my system  using Uni [More]
Hello all, I am new to InDesign interactive part and I'm creating my first ever interactive file. So the problem is that I have one path (which is a diagonal line basically) made into a button that should work on roll over mode. Now the the bounding [More]