It´s for debugging, 

In fact I would like to see what xfire generate. 

I´s like to see because I have a doubt, 

How can xfire be able to find the right service operation if I don´t inform the 
namespace neither prefix?

 

Look

  OperationInfo operation =  
client.getService().getServiceInfo().getOperation("ListarUnidades");

                   

        System.out.println("Input " + operation.getInputMessage().getName());

        System.out.println("Output "+ operation.getOutputMessage().getName());

        

        Object[] result = client.invoke(operation, args);

 

As you can see, I don´t inform the QName, only the string name. 

I was wondering why Client.invoke method do not accept QName as argument?

It only accept service name (string) and OperationInfo. Then I imagine if I 
would be able to set de QName at OperationInfo, but I can´t. 

 

The fact is, I don´t know where I set the namespace .

 

XFire will find the operation like magic? =]

 



Arian Rodrigo Pasquali
Desenvolvimento
[EMAIL PROTECTED]
Tel. +55 (47) 3802-8446
www.neogrid.com.br

 

________________________________

De: Hogan, Gavin [mailto:[EMAIL PROTECTED] 
Enviada em: quinta-feira, 21 de junho de 2007 15:56
Para: [email protected]
Assunto: RE: [xfire-user] How can I see the soap envelop that xfire generates?

 

Why do you wish to see it? For an application requirement or for debugging.  If 
you are also writing the client, and calling it you could use a proxy like 
tcpmon .  Another option is to use the Dom handler, described in the docs but 
that would harm performance in a production env.

 

 

___________________________________________

Gavin Hogan
Programmer/Analyst
The State University of New York
State University Plaza
Albany, NY 12246
Phone 518-443-5481
fax 518-443-5809
e-mail [EMAIL PROTECTED] 

        -----Original Message-----
        From: Arian Rodrigo Pasquali [mailto:[EMAIL PROTECTED] 
        Sent: Thursday, June 21, 2007 2:53 PM
        To: [email protected]
        Subject: [xfire-user] How can I see the soap envelop that xfire 
generates?

        I´d like to see the final SOAP envelop that xfire generates when I 
invoke an operation using a dynamic client.

        I had tried adding (out)handlers at the client and see what cames in 
MessageContext, but I didn´t find where I can see the generated envelop.

         

        Anyone knows how to do that?

        
        
        Arian Rodrigo Pasquali
        Desenvolvimento
        [EMAIL PROTECTED]
        Tel. +55 (47) 3802-8446
        www.neogrid.com.br

         

<<image001.gif>>

Reply via email to