Hi...I have a client which I am using to access a web service  The
code I have is...

               MyStub stub = new MyStub();
               HelloWorldDocument reqDoc =
HellWorldDocument.Factory.newInstance();
               reqDoc.setName("bob");

               HelloWorldResponseDocumnet resp = stub.SayHello(reqDoc);

The SOAP XML response is in the following form...

               <soap12:Envelope ....>
                 <soap12:Header>
                   <ErrorResponse ....>
                   </ErrorResponse>
                   <UserInfo ...>
                     <Id>string</Id>
                     <DOB>string</DOB>
                   </UserInfo>
                 </soap12:Header>
                 <soap12:Body>
                   <HelloWorldResponse ....>
                     .....
                   </HelloWorldResponse>
                 </soap12:Body>
               </soap12:Envelope>

My issue is I need to get stuff from the UserInfo header....how can I
get that?  Currently all I can get is the HelloWorldResponse from the
"body".
Thanks!

Reply via email to