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
I am unable to sync own ring tone from pc to iphone - please advisehi - ive tried everything starting from scratch - installing and deinstalling itunes on my computer - rebooting, etc. i get a message that says "unable to connect to ITunes" and [More]
Hi Please pay attention to my scenario I use Oracle 11.2.0.3 create table chr1 (n1 number(8,3),n2 number(8,3),n3 number(8,3));   begin    for i in 1..1000 loop       insert into chr1 values (dbms_random.value(1,1000),dbms_random.value(1,1000),dbms_ra [More]
How to display a oracle table from a java program. Hello friends, I have written a Java program, using oracle 10g as backend. I want to display a oracle table as output. Im not getting how to display oracle table as a output table.. Pls help me Thank [More]
Hi, I need flat file in IDOC(INVOIC02) format from the AR invoice in SAP R/3. We don't want to create IDOC's in SAP R/3. So We need to get the data from R/3 via RFC with EDIDC & EDIDD structures and map it to IDOC in XI. The second mapping would be f [More]
I have the following problem, anyone can help me? I have an application( Frame ) needed to be embedded in applet. The applecation has a lot of information output to console( by System.out ). When I embeded it into applet, these information will be ou [More]
Hi all, Question: My client wants a CUA on SolMan. When I set this up I stumble upon a small problem. CUA needs RFC connections to all connected clients, these RFC's should have the exact name of the Logical System Name of the client. Furthermore the [More]
solaris 10 10/05 on sUN E3000 Q: how to modify the setting for a running zone. I want to add a lofs mount for /usr/local read/write. also I want to add access to cdrom so I use zonecfg to "add fs ", and stuff then commit. now what should I do to [More]
Windows stack on top of each other and there's no master area. I'm having trouble googling this. I've only started using dwm last night and I like it. Alt+h or Alt+l doesn't seem to change anything. SCREENSHOT: http://i.imgur.com/fmtz1Eq.jpghttp://un [More]
Hi All, I need the below details to be added in recruitment module. Can any one tell me how we can input the information? Total Exp. SAP relevant Exp Present CTC Expected CTC Notice Period Interview status ( Tel, Personal, HR interview’s, Medical Tes [More]
I'm in the process of designing a new security architecture based on Sun One Directory Server. I don't know whether the following is possible. So, If not, please, tell me whether there are alternatives 1. I have 4 departemental Unix systems. Each one [More]