在Java程序中(不是web项目)调用webservice的时候出现DeserializationException异常
com.sun.xml.internal.ws.encoding.soap.DeserializationException:Failedtoreadaresponse:...
com.sun.xml.internal.ws.encoding.soap.DeserializationException: Failed to read a response: javax.xml.bind.UnmarshalException
- with linked exception:
[javax.xml.bind.UnmarshalException: Unable to create an instance of cn.com.gpgc.sed.ws.da.types.SimpleValue
- with linked exception:
[java.lang.InstantiationException]]
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown Source)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown Source)
at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(Unknown Source)
at $Proxy28.getValues(Unknown Source)
at com.ieslab.ce2.test.ws.gda.GenericDataAccess.Get_values.get_values_t1(Get_values.java:87)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.ieslab.ce2.util.thread.BackStageControllerThread.run(BackStageControllerThread.java:146)
at com.ieslab.ce2.util.thread.BackStageControllerThread.run(BackStageControllerThread.java:84)
Caused by: javax.xml.bind.UnmarshalException
- with linked exception:
[javax.xml.bind.UnmarshalException: Unable to create an instance of cn.com.gpgc.sed.ws.da.types.SimpleValue
- with linked exception:
[java.lang.InstantiationException]]
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.handleStreamException(Unknown Source)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(Unknown Source)
at com.sun.xml.internal.bind.v2.runtime.BridgeImpl.unmarshal(Unknown Source)
at com.sun.xml.internal.bind.api.Bridge.unmarshal(Unknown Source)
at com.sun.xml.internal.ws.message.stream.StreamMessage.readPayloadAsJAXB(Unknown Source)
at com.sun.xml.internal.ws.client.sei.ResponseBuilder$Body.readResponse(Unknown Source)
... 11 more 展开
- with linked exception:
[javax.xml.bind.UnmarshalException: Unable to create an instance of cn.com.gpgc.sed.ws.da.types.SimpleValue
- with linked exception:
[java.lang.InstantiationException]]
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown Source)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown Source)
at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(Unknown Source)
at $Proxy28.getValues(Unknown Source)
at com.ieslab.ce2.test.ws.gda.GenericDataAccess.Get_values.get_values_t1(Get_values.java:87)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.ieslab.ce2.util.thread.BackStageControllerThread.run(BackStageControllerThread.java:146)
at com.ieslab.ce2.util.thread.BackStageControllerThread.run(BackStageControllerThread.java:84)
Caused by: javax.xml.bind.UnmarshalException
- with linked exception:
[javax.xml.bind.UnmarshalException: Unable to create an instance of cn.com.gpgc.sed.ws.da.types.SimpleValue
- with linked exception:
[java.lang.InstantiationException]]
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.handleStreamException(Unknown Source)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(Unknown Source)
at com.sun.xml.internal.bind.v2.runtime.BridgeImpl.unmarshal(Unknown Source)
at com.sun.xml.internal.bind.api.Bridge.unmarshal(Unknown Source)
at com.sun.xml.internal.ws.message.stream.StreamMessage.readPayloadAsJAXB(Unknown Source)
at com.sun.xml.internal.ws.client.sei.ResponseBuilder$Body.readResponse(Unknown Source)
... 11 more 展开
4个回答
展开全部
Dim P As Single, SJ, SHI As Integer, FEN As Integer, MIAO As Integer
Private Sub Form_Load()
Timer1.Interval = 1000
Timer1.Enabled = True
P = 3.1415926
End Sub
Private Sub Form_Load()
Timer1.Interval = 1000
Timer1.Enabled = True
P = 3.1415926
End Sub
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
没有添加wsdl吧?
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
是用Ecilipse里编的代码么?是不是在Xml解析工具那里你的jar包没导全啊。
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询