使用JAVA编写的客户端访问Delphi编写的WebService 服务器端的问题,请教各位高手
运行Java编写的客户端出现以下问题(但是经过确认是服务器已经有值返回,并且返回的格式是正确的),请问有什么办法可以解决
java.rmi.RemoteException: Runtime exception; nested exception is:
unexpected encoding style: expected=http://schemas.xmlsoap.org/soap/encoding/, actual=
unexpected encoding style: expected=http://schemas.xmlsoap.org/soap/encoding/, actual=
at com.sun.xml.rpc.encoding.SOAPDeserializationContext.verifyEncodingStyle(SOAPDeserializationContext.java:142)
at com.sun.xml.rpc.encoding.ObjectSerializerBase.deserialize(ObjectSerializerBase.java:146)
at com.sun.xml.rpc.encoding.ReferenceableSerializerImpl.deserialize(ReferenceableSerializerImpl.java:115)
at helloworld.HelloIF_Stub._deserialize_GetWSMsg(HelloIF_Stub.java:174)
at helloworld.HelloIF_Stub._readFirstBodyElement(HelloIF_Stub.java:147)
at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:164)
at helloworld.HelloIF_Stub.GetWSMsg(HelloIF_Stub.java:109)
at helloworld.HelloClient.main(HelloClient.java:15)