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