In JAVA I am consuming (JAX-WS client) .NET webservice that returns data of type string[].
After I consume web service In JAVA, I get object ArrayOfStrings, and I don't have idea what to do with it. This class is generated by wsimport tool.
I need somehow to convert it to String[]
I tried to change web service to return List, but in java, resulting data is always of type ArrayOfStrings.
Is there a way to receive List or Array in JAVA?
.NET
[WebMethod]
public List<string> GetListADocuments(string code)
{ ... }
JAVA:
WebServiceSoap service = client.getWebServiceSoap();
result = service.getListADocuments(code);
Thanks