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