We are adding a webservice (Java) to C # (VSNet 2003) application. The Web service running on HTTP 1.0 protocol, on the other hand, is trying to reach with the VSNet 2003 HTTP 1.1 protocol. Therefore the object is coming empty values.
For example we are getting the string [5] Object is correct but the item of array is zero value I
We have to take HTTP protocol in 1.0. No problems with 2005 and 2008
How can we do the structures of VS 2003?
Can you expect to be posted for 1.0 web service calls? If so, take a look at it and make sure the proof is being passed correctly in the soap envelope and any settings that have been added to the header. I have just updated an application that can be used to make SOAP calls using a webruv and there were many problems whenever you tried to call 1.1 web service.
1) namespace
- 1.2 = "SOAP 12" - 1.1 = "SOAP" * PLUS, URL is different for each namespace.
2) Content type
- 1.2 = "app / soap + xml; charset = utf-8" - 1.1 = "text / xml; charset = UTF-8 "
3) 1.1 I had to set up SOAPAction in the header while calling web services. Without it, 500 errors are received from the server.
I have found this by looking at the automated birth test page generated by the web service (which are samples of a SOAP 1.1 and 1.2 calls). I compared it with what we were building / heading in the form of our SOAP envelope. For example, we were working on whatever we expected, once we did the work as expected.
Since I do not know how you are calling the Java Web service, the above information may or may be applied, but at least you have to check some things
If you can post more specific information about calling a web service in VS300 (aka: code example), then it will help you get a more definitive answer.
Comments
Post a Comment