You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "aden yan (JIRA)" <ax...@ws.apache.org> on 2007/02/26 07:51:05 UTC

[jira] Commented: (AXIS-2230) AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException

    [ https://issues.apache.org/jira/browse/AXIS-2230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12475827 ] 

aden yan commented on AXIS-2230:
--------------------------------

i  have a same issue,why?

> AxisFault  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
> -------------------------------------------------------------------------------------
>
>                 Key: AXIS-2230
>                 URL: https://issues.apache.org/jira/browse/AXIS-2230
>             Project: Axis
>          Issue Type: Bug
>    Affects Versions: 1.2.1
>            Reporter: Jyothish John
>            Priority: Blocker
>
> Hi;
> I am trying to invoke a webservice residing on a WebMethods server , with Axis 1.2.1, and is getting the following Exception.
> I can see the Response Soap Body and it is looking fine as expected while I debug my code.
> I tried attaching Axis 1.2.1 source and found the exception being thrown on
> org.apache.axis.handlers.soap.MustUnderstandChecker , Line 95.
>    !!! we should indicate SOAP1.2 compliance via the
>         // MessageContext, not a boolean here....
>         if (misunderstoodHeaders != null) { >> On this line the vector is null, and I am getting the AxisFault.
> Can sombody explain or suggest what might be going wrong?
> AxisFault
>  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
>  faultSubcode: 
>  faultString: org.xml.sax.SAXException: Invalid element in za.co.spoornet.nwb.ws.servicecodes.__getservicecodesResponse_servicecode_items - servicecode_items
>  faultActor: 
>  faultNode: 
>  faultDetail: 
> 	{http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException: Invalid element in za.co.spoornet.nwb.ws.servicecodes.__getservicecodesResponse_servicecode_items - servicecode_items
> 	at org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:258)
> 	at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
> 	at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
> 	at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
> 	at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
> 	at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
> 	at org.apache.axis.client.Call.invoke(Call.java:2448)
> 	at org.apache.axis.client.Call.invoke(Call.java:2347)
> 	at org.apache.axis.client.Call.invoke(Call.java:1804)
> 	at za.co.spoornet.nwb.ws.servicecodes.Espoornet_datatier_webserviceBindingStub.getServiceCodes(Espoornet_datatier_webserviceBindingStub.java:163)
> 	at za.co.spoornet.nwbcatc.client.GetServiceCodesTestClient.main(GetServiceCodesTestClient.java:86)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org