You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by jatinder <it...@gmail.com> on 2011/11/14 12:04:41 UTC

Getting error while calling the .svc Web Service using from java program.

Hi All, i'm a newbie in this stuff.

I'm getting the following error whilw i run my program to call the web
service.

Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl:
{http://www.w3.org/2003/05/soap-envelope}Server is not a standard Code
value.

even using soapUI i'm getting the following error.

Error in deserializing body of request message for operation 'subscribe'.
System.ServiceModel.CommunicationException

Any help will be appreciated.
Thanks in advance.

--
View this message in context: http://cxf.547215.n5.nabble.com/Getting-error-while-calling-the-svc-Web-Service-using-from-java-program-tp4990417p4990417.html
Sent from the cxf-user mailing list archive at Nabble.com.

Re: Getting error while calling the .svc Web Service using from java program.

Posted by jatinder <it...@gmail.com>.
It shows me the following errors-----
com.sun.xml.messaging.saaj.soap.ver1_2.Fault1_2Impl checkIfStandardFaultCode
SEVERE: SAAJ0435: {http://www.w3.org/2003/05/soap-envelope}Server is not a
standard Code value

java.lang.reflect.UndeclaredThrowableException
 at $Proxy33.enrollRequest(Unknown Source)
 at ihe.qrph.rpe._2009.IPExecutor_Client.main(IPExecutor_Client.java:122)
Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl:
{http://www.w3.org/2003/05/soap-envelope}Server is not a standard Code value
 at
com.sun.xml.messaging.saaj.soap.ver1_2.Fault1_2Impl.checkIfStandardFaultCode(Fault1_2Impl.java:146)
 at
com.sun.xml.messaging.saaj.soap.impl.FaultImpl.setFaultCode(FaultImpl.java:139)
 at
com.sun.xml.messaging.saaj.soap.impl.FaultImpl.setFaultCode(FaultImpl.java:157)
 at
org.apache.cxf.jaxws.JaxWsClientProxy.createSoapFault(JaxWsClientProxy.java:218)
 at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:152)
 ... 2 more
 
Does CXF support 1.2 soap msgs?
Can i handle this exception directly or Is there any work-around so that i
can handle this exception?

Thanks.

--
View this message in context: http://cxf.547215.n5.nabble.com/Getting-error-while-calling-the-svc-Web-Service-using-from-java-program-tp4990417p4997332.html
Sent from the cxf-user mailing list archive at Nabble.com.

Re: Getting error while calling the .svc Web Service using from java program.

Posted by Daniel Kulp <dk...@apache.org>.
Can you get the full stack trace?   Also, can you log the message? 

It looks like it MIGHT be sending a SOAP 1.1 request but getting a SOAP 1.2 
fault back.   Not really sure.   Logging the request/response might help 
diagnose the issue.

See;
http://cxf.apache.org/docs/debugging-and-logging.html

Dan


On Monday, November 14, 2011 3:04:41 AM jatinder wrote:
> Hi All, i'm a newbie in this stuff.
> 
> I'm getting the following error whilw i run my program to call the web
> service.
> 
> Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl:
> {http://www.w3.org/2003/05/soap-envelope}Server is not a standard Code
> value.
> 
> even using soapUI i'm getting the following error.
> 
> Error in deserializing body of request message for operation 'subscribe'.
> System.ServiceModel.CommunicationException
> 
> Any help will be appreciated.
> Thanks in advance.
> 
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/Getting-error-while-calling-the-svc-Web-Ser
> vice-using-from-java-program-tp4990417p4990417.html Sent from the cxf-user
> mailing list archive at Nabble.com.
-- 
Daniel Kulp
dkulp@apache.org
http://dankulp.com/blog
Talend - http://www.talend.com

Re: Getting error while calling the .svc Web Service using from java program.

Posted by jatinder <it...@gmail.com>.
When i try to run the program using Eclipse, it gives me the soap fault error
i.e.
<type>s:Client</type>
and Candidate ID is invalid.

How to resolve s:Client so that the exception can be handled by some value.

Is there any compatibility issue to call the web service that is written in
.net application and calling that web service from the java code?

If not, what can the problem in accessing the web service?
Thanks.

--
View this message in context: http://cxf.547215.n5.nabble.com/Getting-error-while-calling-the-svc-Web-Service-using-from-java-program-tp4990417p4993951.html
Sent from the cxf-user mailing list archive at Nabble.com.