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 "Jyothish John (JIRA)" <ax...@ws.apache.org> on 2005/09/23 15:54:28 UTC

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

AxisFault  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
-------------------------------------------------------------------------------------

         Key: AXIS-2230
         URL: http://issues.apache.org/jira/browse/AXIS-2230
     Project: Apache Axis
        Type: Bug
    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.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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

Posted by "Davanum Srinivas (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-2230?page=all ]
     
Davanum Srinivas resolved AXIS-2230:
------------------------------------

    Resolution: Cannot Reproduce

Need a full test case against latest Axis.

thanks,
dims

> AxisFault  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
> -------------------------------------------------------------------------------------
>
>          Key: AXIS-2230
>          URL: http://issues.apache.org/jira/browse/AXIS-2230
>      Project: Apache Axis
>         Type: Bug
>     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.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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

Posted by "aden yan (JIRA)" <ax...@ws.apache.org>.
    [ 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


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

Posted by "Erdem Alpay (JIRA)" <ax...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS-2230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12772481#action_12772481 ] 

Erdem Alpay commented on AXIS-2230:
-----------------------------------

I'm having the same problem, trying to invoke a webservice, but get error:
"faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException" 
What may cause this error ??

PS - Issue looks like resolved, but i couldn't get how it is resolved??

> 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.