You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Mark <ma...@bellsouth.net> on 2003/10/07 15:43:19 UTC

WSDL2Java/MessageElement[] confusion

I'm part of a team that's been tasked to develop a proof-of-concept for 
interoperability between Java/Axis and .NET.  I'm supposed to handle the 
Java/Axis side of things, and had success with simple .NET web services 
(ie. some services listed at www.xmethods.com).

I'm fairly new to Axis and web services in general, and was pleased with 
how easy everything worked until I tried a more complex services.  For 
example, I used WSD2Java against this .NET wsdl, 
http://www.abundanttech.com/WebServices/DeadOrAlive/DeadOrAlive.asmx?wsdl 
and was able to invoke the various operations with no faults or exceptions. 
My problem is extracting the result from the MessageElement[] array. I 
looked at the Axis documentation, searched the email archives and the web 
but wasn't able to find examples. In this sample web service, there's 4 
operations and each has a response/result class with a MessageElement[] 
_any array.

Can someone explain the typical method(s) for getting results from a 
MessageElement [] array? I'm basically floundering at the moment. Any 
pointers, samples, articles, book recommendations, etc. will be *greatly* 
appreciated.

Thanks in advance