Win a copy of Emmy in the Key of Code this week in the General Computing forum!

samrat.barve samrat.barve

Greenhorn
+ Follow
since Apr 16, 2003
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by samrat.barve samrat.barve

hi i am accessing dot net web service from java client using jax rpc dii .
my dot net web service has a method which reeturn an int and it takes no parameters .
when i run my code i am getting following error :
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:148)
at com.sun.xml.rpc.encoding.ReferenceableSerializerImpl.deserialize(ReferenceableSerializerImpl.java:115)
at com.sun.xml.rpc.client.dii.CallInvokerImpl._readFirstBodyElement(CallInvokerImpl.java:188)
at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:168)
at com.sun.xml.rpc.client.dii.CallInvokerImpl.doInvoke(CallInvokerImpl.java:56)
at com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:281)
at dpclient.main(dpclient.java:135)
From the error above it seems that dot net web service does not encode response as required by jax rpc dii .
any help on this appreciated !!
16 years ago