org.xml.sax.SAXException:类java.lang.Object没有反序列化器(在soap调用期间)

时间:2018-09-17 11:01:03

标签: java soap sax sabre

在执行代码的打击行时,我在下面提到的异常中得到了异常。

private static org.apache.axis.description.TypeDesc typeDesc =
            new org.apache.axis.description.TypeDesc(TransactionTypeRequestType.class, true);

        static {
            typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.opentravel.org/OTA/2003/05", ">TransactionType>RequestType"));
            org.apache.axis.description.AttributeDesc attrField = new org.apache.axis.description.AttributeDesc();
            attrField.setFieldName("name");
            attrField.setXmlName(new javax.xml.namespace.QName("", "Name"));
            attrField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
            typeDesc.addFieldDesc(attrField);
        }




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:6162) [classes/:na]

0 个答案:

没有答案