Re: [xfire-user] Re: Get headers from autogenerated code

2007-04-25 Thread craig w
I see that the latest snapshot is out, is the change that I need: XFIRE-964Support for accessing MessageContext from within service implementation How do I get to the AbstractInvoker? Here is the sample code I am using... HelloServiceClient service = *new* HelloServiceClient();

Re: [xfire-user] Generate Java code from WSDL

2007-04-25 Thread craig w
thanks, somehow I forgot about that. On 4/25/07, Tomek Sztelak [EMAIL PROTECTED] wrote: You can use : - maven/ant task : - command line : http://xfire.codehaus.org/Client+and+Server+Stub+Generation+from+WSDL - Eclipse pligin : http://xfire.codehaus.org/Eclipse+Plugin - MyEclipse IDE On

Re: [xfire-user] Preparing for 1.2.6 release

2007-04-25 Thread craig w
I see that the latest snapshot is out, is the change that I need: XFIRE-964Support for accessing MessageContext from within service implementation How do I get to the AbstractInvoker? Here is the sample code I am using... HelloServiceClient service = *new* HelloServiceClient();

Re: [xfire-user] Generate Java code from WSDL

2007-04-25 Thread craig w
yea i use the eclipse plugin but does it support the latest snapshot from April 25? On 4/25/07, craig w [EMAIL PROTECTED] wrote: thanks, somehow I forgot about that. On 4/25/07, Tomek Sztelak [EMAIL PROTECTED] wrote: You can use : - maven/ant task : - command line : http

Re: [xfire-user] Preparing for 1.2.6 release

2007-04-25 Thread craig w
When I try, AbstractInvoker.getContext() it is always returning NULL. On 4/25/07, craig w [EMAIL PROTECTED] wrote: I see that the latest snapshot is out, is the change that I need: XFIRE-964Support for accessing MessageContext from within service implementation How do I get

Re: [xfire-user] Re: Get headers from autogenerated code

2007-04-26 Thread craig w
); System.out.println(AbstractInvoker.getContext()); that prints out null. any idea why? On 4/26/07, Tomek Sztelak [EMAIL PROTECTED] wrote: You can use AbstractInvoker.getContext only from within your service implementation, not from client. On 4/26/07, craig w [EMAIL PROTECTED] wrote: I see

Re: [xfire-user] Re: Get headers from autogenerated code

2007-04-26 Thread craig w
: You can add in handler do your client which will get headers from response. On 4/26/07, craig w [EMAIL PROTECTED] wrote: So from the code I am doing in my last message (i.e. using a client), I can not get access to the headers returned in the servers SOAP response??? On 4/26/07, Tomek Sztelak

Re: [xfire-user] Re: Get headers from autogenerated code

2007-04-26 Thread craig w
Or is there some sort of addHandler method I need to use? Thanks in advance for the help. On 4/26/07, craig w [EMAIL PROTECTED] wrote: Can you explain a bit more, I am not sure what you mean by add in handler do your client? So are you saying in HelloServiceClient I should add code

[xfire-user] Problem getting header from SOAP response (client side)

2007-04-26 Thread craig w
Hi, I have the following WSDL2Java generated client code: public static void main(String[] args) { HelloServiceClient service = new HelloServiceClient(); HelloServiceSoap client = service.getHelloServiceSoap(); HolderUserInfo holder = new HolderUserInfo(); SayHelloResult result =

[xfire-user] Re: Problem getting header from SOAP response (client side)

2007-04-27 Thread craig w
...things are very quiet... On 4/26/07, craig w [EMAIL PROTECTED] wrote: Hi, I have the following WSDL2Java generated client code: public static void main(String[] args) { HelloServiceClient service = new HelloServiceClient(); HelloServiceSoap client = service.getHelloServiceSoap

[xfire-user] Re: Problem getting header from SOAP response (client side)

2007-04-28 Thread craig w
anyone have an idea??? On 4/27/07, craig w [EMAIL PROTECTED] wrote: ...things are very quiet... On 4/26/07, craig w [EMAIL PROTECTED] wrote: Hi, I have the following WSDL2Java generated client code: public static void main(String[] args) { HelloServiceClient service = new

Re: [xfire-user] Re: Problem getting header from SOAP response (client side)

2007-04-28 Thread craig w
: , as though my handler is never being called. any ideas why? On 4/28/07, craig w [EMAIL PROTECTED] wrote: where can I find these? I currently have xfire-all-1.2-20070425.101013-38.jar and xfire-all-1.2.5.jar...but they dont seem to have an examples folder in them. thanks again! On 4/28/07, Tomek

Re: [xfire-user] Re: Problem getting header from SOAP response (client side)

2007-04-28 Thread craig w
(new MyInvoker(oi)); When I run my main method againI don't even see anything printed out, I should at least see the Invoking message as printed from MyInvoker. It almost seems like the service0 object is not being used or something. On 4/28/07, craig w [EMAIL PROTECTED] wrote: I found

Re: [xfire-user] Re: Problem getting header from SOAP response (client side)

2007-04-29 Thread craig w
a look at http://xfire.codehaus.org/Client+and+Server+Stub+Generation+from+WSDL you will see how to add handler to generated code. On 4/29/07, craig w [EMAIL PROTECTED] wrote: ok I also tried this: public static class MyInvoker extends ObjectInvoker { private ObjectInvoker delegate