When I run wsdl2java, I get a MessageReceiverInOut generated with one toEnvelope() method and one toOM(). This toOM method returns a OMElement and the receiver method that calls it uses OMElement.class as the "cast this to" parameter for all messages. This will only allow me to parse the first data point in my message. I have seen other code that seems to autogenerate a separate toOM method for each message type, a separate toEnvelope for each request, and uses different classes in the "cast this to" parameter. My current plan is to do this all by hand, but there must be a better way. How do I get wsdl2java to do that for me?
Thank you so much, Charles
