anyone have any ideas?

On 4/19/07, craig wickesser <[EMAIL PROTECTED]> wrote:

I am trying to access an existing web service and I used the XFire eclipse
plugin to generate java code from a WSDL.

I essentially have:


HelloServiceClient service =
*new* HelloServiceClient();

HelloServiceSoap client = service.getHelloServiceSoap();

Holder<UserInfo> holder = new Holder<UserInfo>();

SayHelloResult result = client.sayHello("bob", holder);

System.out.println("Result: " + result.getHelloMessage());

System.out.println("UserInfo: "+ holder.value);

OUTPUT:

Result: Hello bob

UserInfo: null

If I access the same web service using soapUI, I can see the full XML
response, and the response includes the UserInfo in the soap header.  So I
am wondering, how can I access the headers in the response from the code
above??



Thanks!



Reply via email to