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();
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
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();
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
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
);
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
:
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
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
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 =
...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
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
: , 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
(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
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
14 matches
Mail list logo