SOAP- Client:在Java中使用AXIS 1.4获取空Pinter异常

时间:2018-07-19 06:57:21

标签: java spring-boot axis soap-client

从SOAP UI执行SOAP请求时,我得到了nullpointerexception,但是错误没有给出错误的确切位置。

任何人都可以帮助我解决以下错误:

org.xml.sax.SAXException: null
    at org.apache.axis.encoding.ser.SimpleDeserializer.onEndElement(SimpleDeserializer.java:180) ~[axis-1.4.jar:?]
    at org.apache.axis.encoding.DeserializerImpl.endElement(DeserializerImpl.java:502) ~[axis-1.4.jar:?]
    at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087) ~[axis-1.4.jar:?]
    at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:171) ~[axis-1.4.jar:?]
    at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141) ~[axis-1.4.jar:?]
    at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236) ~[axis-1.4.jar:?]
    at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384) ~[axis-1.4.jar:?]
    at org.apache.axis.client.Call.invoke(Call.java:2467) [axis-1.4.jar:?]
    at org.apache.axis.client.Call.invoke(Call.java:2366) [axis-1.4.jar:?]
    at org.apache.axis.client.Call.invoke(Call.java:1812) [axis-1.4.jar:?]

Caused by: java.lang.NullPointerException
    at org.apache.axis.encoding.ser.EnumDeserializer.makeValue(EnumDeserializer.java:53) ~[axis-1.4.jar:?]
    at org.apache.axis.encoding.ser.SimpleDeserializer.onEndElement(SimpleDeserializer.java:172) ~[axis-1.4.jar:?]
    ... 66 more

有人可以帮我吗?

0 个答案:

没有答案