I am consuming Java Web Services in .NET. The Java Web Services have been
coded using Apache Axis.
The binding style in the WSDL is 'Document' and type is 'Literal'.
I have added these Java Web Services both as Web Reference and Reference (ie
dll generated using wsdl.exe) in the Project in order to access them. I am
able to get the output for web methods that return just a string. However
when it comes to complex data like an object / array , it returns me an
object with empty attribute values.
I have tried posting the XML Content to the Web Services using XML Spy and
it seems to work fine suggesting that there does not seem to be any problem
with the Web Service.
What could be the problem? Do we need to modify the .NET proxy that Visual
Studio.NET IDE generates when output is an object or whatever is generated by
default should work?
I have tried the same consuming a .NEt service and it works fine.
Hoping to hear from you soon.