0
我有問題,我的web客戶端使用Axis 1.3.1我 遇到下面的錯誤執行Web服務時建:SOAP錯誤:2軸AbstractMethodError
[9/5/14 15:05:47:211 EDT] 0000018f ServletWrappe E com.ibm.ws.webcontainer.servlet.ServletWrapper service Uncaught service() exception thrown by servlet SWPChooseAccountServlet: java.lang.AbstractMethodError: org/apache/axis2/databinding/ADBBean.serialize(Ljavax/xml/namespace/QName;Ljavax/xml/stream/XMLStreamWriter;)V
at org.apache.axis2.databinding.ADBDataSource.serialize(ADBDataSource.java:90)
at org.apache.axiom.om.impl.llom.OMSourcedElementImpl.internalSerialize(OMSourcedElementImpl.java:781)
at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:967)
at org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.serializeInternally(SOAPEnvelopeImpl.java:283)
at org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.internalSerialize(SOAPEnvelopeImpl.java:245)
at org.apache.axiom.om.impl.llom.OMSerializableImpl.serializeAndConsume(OMSerializableImpl.java:207)
at org.apache.axis2.transport.http.SOAPMessageFormatter.writeTo(SOAPMessageFormatter.java:74)
at org.apache.axis2.transport.http.AxisRequestEntity.writeRequest(AxisRequestEntity.java:84)
的Web服務客戶端部署在IBM WAS 8.5。 5.1我的臨時解決方案是 ,將axis2-adb-1.4.1.jar添加到WebSphere應用服務器共享庫中,並將該庫作爲Java類加載器中的參考庫添加(加載 的類首先使用本地類加載器(父類最後一個) )
你可以在這裏發佈Servlet代碼嗎? – 2014-09-06 04:06:19
我解決了這個問題與Axis1.4版本的罐子時,當我使用孤立的共享library.Bt沒有共享庫,當我在lib文件夾內使用Axis 1.4 verson jar ..它給我同樣提到的錯誤...我dnt爲什麼它是與共享庫一起工作,但不能與lib一起工作......任何想法? – user3169897 2014-09-12 13:23:55