thanks Deepal & thanks paul

Fabrice

Deepal Jayasinghe a écrit :
Hi  Fabrice ,
Pls have a look at http://wso2.org/library/182

Thanks
Deepal
hi Paul,

i copy addressing.mar in addressing.jar and i add in my classpath.

in my code i add this line
System.out.println(AddressingFaultsHelper.class);

i have my trace ans always exception.
class org.apache.axis2.addressing.AddressingFaultsHelper

org.apache.axis2.AxisFault: Unable to engage module : addressing
    at
org.apache.axis2.client.ServiceClient.engageModule(ServiceClient.java:298)

    at com.centile.Test.Main.main(Main.java:31)

is my code correct to create a client ?

 WebServiceWCPStub stub =
                    new WebServiceWCPStub
     ("http://localhost:8080/axis2/services/WebServiceWCP?wsdl";);
stub._getServiceClient().engageModule(new
QName("addressing"));
stub._getServiceClient().getOptions().setManageSession(true);

stub.test();

Fabrice






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



begin:vcard
fn:Fabrice Airault
n:Airault;Fabrice
org:Centile
email;internet:[EMAIL PROTECTED]
tel;work:+33 4 97 23 12 94
x-mozilla-html:FALSE
version:2.1
end:vcard


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to