Ok now i know how to read from an xml file with java classes. The question now is how could i access the xml file (SOAP Response).
what is the path of XML files in .Net webservices is it on the server or where?
User Profile
Collapse
-
Thanks for your reply "ThatThatGu y"
but the problem is that the web method which is "port.countryGe tAll();" returns a collection (list) and in the java client i recieve this list object as a ArrayOfAnyType object and i couldn't extract the data from this object.
I tried to cast the arrayofanytype:
try { // Call Web Service Operation
// org.tempuri.Res ervationWS service = new org.tempuri.Res ervationWS();...Leave a comment:
-
how to read ArrayOfAnyType from .Net web service using JAVA code
i am try to read an object from .Net Webservice i got this type
ArrayOfAnyType
as in this lines of code:
public class NewClass {
try { // Call Web Service Operation
org.tempuri.Cou ntryWS service = new org.tempuri.Cou ntryWS();
org.tempuri.Cou ntryWSSoap port = service.getCoun tryWSSoap();
// TODO process result here
...
No activity results to display
Show More
Leave a comment: