org.xml.sax.SAXException:类java.lang.Object没有反序列化器

时间:2018-09-11 06:57:02

标签: java web-services soap axis

我试图将setName(String)设置为TransactionTypeRequestType对象,并在调用invoke方法时给出此异常。当我传递空字符串时,它不会引发异常,但我需要传递(“ AD3”)。我正在打电话给Sabre的BargainFinderMax_AD服务。

org.xml.sax.SAXException: No deserializer for class java.lang.Object
      at org.apache.axis.encoding.ser.SimpleDeserializer.onStartElement(SimpleDeserializer.java:383) ~[axis.jar:na]
      at org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:393) ~[axis.jar:na]
      at org.apache.axis.encoding.DeserializerImpl.onStartElement(DeserializerImpl.java:449) ~[axis.jar:na]
      at org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:393) ~[axis.jar:na]
      at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1048) ~[axis.jar:na]
      at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165) ~[axis.jar:na]
      at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141) ~[axis.jar:na]
      at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236) ~[axis.jar:na]
      at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384) ~[axis.jar:na]
      at org.apache.axis.client.Call.invoke(Call.java:2467) [axis.jar:na]
      at org.apache.axis.client.Call.invoke(Call.java:2366) [axis.jar:na]
      at org.apache.axis.client.Call.invoke(Call.java:1812) [axis.jar:na]
      at com.sabre.webservices.websvc.BargainFinderMaxBindingStub.bargainFinderMax_ADRQ(BargainFinderMaxBindingStub.java:6152) [classes/:na]
      at 

0 个答案:

没有答案