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'm in the middle of a new build and everything is fine except.... I Can't seem to get Jusb1 & 2 pin sockets to work on  KT6V-LSR M/B. Rear hardwired USB's are working fine, is there something in the Bios i've missed? I'm trying to connect up an inte [More]
I have a Retina MBP.  After a couple hours use (and I use it every single day, all day) it has begun getting really hot, and when it does, whatever doc i am in, or web window, the thing starts typing a stream of either ''''''''''''''' or //////////// [More]
Hi all, This is probably an oldie but a goodie.... does anyone know if SAP has a recommended maximum number of entries for table MSEG? I've got around 43 million entries and have terrible performance on MB51 reports and custom reports hitting this ta [More]
Since Os X Lion, when trying to load a movie (DivX) in QuickTime 10 at the same time that the related subtitles file (.srt) is in the same folder as the movie, QT 10 suggests to use QT 7. QT 10 cannot load the movie with subtitles (in Snow Leopard ev [More]
I have a form where a user can enter a value, press a button and anoher input would appear, add another value, press the button again, etc. When done, he submits and I use cfloop list to insert the data into a table. When I bring up this form again, [More]
Is there a way to delete a digital ID in Reader XI? It looks like Edit > Protection > Security Settings that was available in other versions has been changed to Edit > Protection > Security Properties and the dialog box no longer contains an o [More]
During the installation of the admin. edition, an error occured. It prompted that "unbound variable", then I clicked the "OK" button. It would totally stop installation and quited. Does anyone know what is the problem, is the problem o [More]
Hi,  I am planning to evaluate the migration effort for my current Dataware house on SQL Server 2008 R2 to SQL Server 2012 PDW. I have haired  about the PDWMA ( Migration assistance ) tool to evaluate the changes I have to perform on the exiting obje [More]
Hi, I would need to expose a schema as a web service with security. 1. Source : BizTalk 2010 2. Target : Pega / Java based systems 3. Encryption : Transport level 4. Signing : Message level 5. Special requirement : Send unsecured responses, supress t [More]
I've made a chat in java swing, when get a new line and append to textarea the scrollbar doesn't move there's any way to move it by code?// JTextArea area area.setCaretPosition(area.getDocument().getLength());JukkaRead other 2 answers [More]