Hi, I have a wsdl like this <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.customer.com/"> <soapenv:Header> <ws:MyHeader> <!--Optional:--> <Credentials> <!--Optional:--> <password>Bar</password> <!--Optional:--> <userId>Foo</userId> </Credentials> <!--Optional:--> <Flags> <retry>?</retry> </Flags> </ws:MyHeader> </soapenv:Header> <soapenv:Body> <ws:notify> <!--Optional:--> <Id>?</Id> <!--Optional:--> <message>?</message> <!--Optional:--> <status>?</status> </ws:notify> </soapenv:Body> </soapenv:Envelope>
I converted this wsdl to code by using wsdl2java and the skelatons were generated but i don't have idea how I can read the parameters from MyHeader. Any idea? Regards