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
Hello Everyone We need to do goods receipt and then create transfer order for a production order (Material for WM scenario) We are using BAPI 'BAPI_GOODSMVT_CREATE'       i_items-orderid = wa_afpo-aufnr .       i_items-order_itno = wa_afpo-posnr.     [More]
How to upgrade my OS 10.4.2 to 10.4.10?? I find there is a combo update for PowerPC and Intel-based Macs installer updates Mac OS X 10.4, 10.4.1, 10.4.2, 10.4.3, 10.4.4, 10.4.5, 10.4.6, 10.4.7, 10.4.8 or 10.4.9 to 10.4.10. But i'm not sure if my mac [More]
Hi, I am having two problems. 1. I am getting the classic      Error: Build stopped due to an error: No JDK_HOME_PATH defined for key 'JAVA_HOME' This is the whole log, Jul 24, 2014 3:12:01 PM /userOut/Development Component (com.sap.ide.eclipse.compo [More]
Hi. I have to install oracle 10g on AIX 6.1 silently so i have followed the the below steps: 1. downloaded patch 6613550 and run ./rootpre.sh of that patch as root user 2. created required oracle user and groups ( oracle and dba respectively) 3. inst [More]
Hello everyone, I have a requirement in which I need to restrict the user statuses based on the authorization key. I have deactivated all the places except one for authorization object B_USERSTAT. By doing this, its working fine i.e. only those statu [More]
Hi I like to send a mail to our suppliers e.g. 5 days before end date of an bid invitation is that possible and how can this be done? BR JakobHi Jacob Mr.Rallapali Contributed to our community . it is possible /people/ramakrishna.rallapalli/blog/2008 [More]
This is S.korea! so sorry for my poor English :-P I'm developing java Web service and my client is Ajax system.My toolkit for Ajax is DWR. But I don't know how to integrated DWR and Java Web service! Function invocation in web service is synchronous. [More]
Got an iPod Touch (5.0.1) for Christmas. Using iTunes 10.5.1.42 on Win 7 box. I must restore the iPod each time I want to install more apps. It has over 4 GB of memory left. The Sync Apps area is all greyed out and nothing moves unless I restore it e [More]
Hi I complain that my son and grandchildren never call for iChat while my son complains that I am never available when they call. My computer is always on, iChat has been always on for some weeks now. My son never appears in my Buddy list as at his c [More]
My MacBook Pro, a 15-inch, Early 2011, has been driving me crazy the past few months. Here is the problem and as crazy and weird as it may seem, believe me, it's 100% REAL! Most of the time it boots just fine and my wireless card is working fine. If [More]