Yes, no xlan in my project. Command line client fails with the following exception when making the call to getTicket. It does make it into the service and fails on the return.

javax.xml.ws.WebServiceException: The following error occurred while engaging th e addressing module: org.apache.axis2.AxisFault: The system is attempting to eng
age a module that is not available: addressing
at org.apache.axis2.jaxws.ExceptionFactory.createWebServiceException(Exc
eptionFactory.java:173)
at org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(Excep
tionFactory.java:70)
at org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(Excep
tionFactory.java:118)
at org.apache.axis2.jaxws.client.config.AddressingConfigurator.configure
(AddressingConfigurator.java:162)
at org.apache.axis2.jaxws.feature.ClientFramework.configure(ClientFramew
ork.java:73)
at org.apache.axis2.jaxws.binding.BindingImpl.configure(BindingImpl.java
:105)
at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invokeSEIMethod
(JAXWSProxyHandler.java:213)
at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invoke(JAXWSPro
xyHandler.java:158)
       at $Proxy12.add(Unknown Source)
at org.apache.axis2.jaxws.calculator.client.AddSEIClient.main(AddSEIClie
nt.java:48)
Time: 15312 ms.

The addressing-1.4.mar is present in my web-inf/modules directory and is being loaded as indicated by the following line from the log [INFO] Deploying module: addressing-1.4 - file:/C:/eclipseworkspace/jaxws-calculator/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/jaxws-calculator/WEB-INF/modules/addressing-1.4.mar




--------------------------------------------------
From: "Davanum Srinivas" <[EMAIL PROTECTED]>
Sent: Saturday, May 03, 2008 1:27 PM
To: <[email protected]>
Subject: Re: Axis2 1.4 JAX-WS calculator example failing

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Did you try the commmand line as documented in the README.txt? Did you see the WARNING at the bottom of the README?

thanks,
dims

virtuallight wrote:
| I have been playing around with this example in Eclipse and it appears to be failing due to the following line returning nothing. There is a context so the resource injection appears to have succeeded. I saw a couple of JIRA posts that get(MessageContext.REFERENCE_PARAMETERS) coming up empty was a problem in the past that was supposedly fixed
before the release of 1.4.
| List list = (List)getContext().getMessageContext().get(MessageContext.REFERENCE_PARAMETERS);
|
|
|
| If this code is removed from the sample it will work.
|
| if (list.isEmpty()) {
|
| AddNumbersException faultInfo = new AddNumbersException();
|
| faultInfo.setMessage("No ticket found.");
|
| throw new AddNumbersException_Exception(faultInfo.getMessage(), faultInfo);
|
| }
|
| Element element = (Element) list.get(0);
|
|
| if (!"123456789".equals(element.getTextContent())) {
|
| AddNumbersException faultInfo = new AddNumbersException();
|
| faultInfo.setMessage("Invalid ticket: " + element.getTextContent());
|
| throw new AddNumbersException_Exception(faultInfo.getMessage(), faultInfo);
|
| }
|
|
|
| Regards,
|
| Bill
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)

iD8DBQFIHMqxgNg6eWEDv1kRArG6AJ9v3X7e7vrdYTZOwuXMyETVoRg4ygCfRuTJ
OG7nLA+I3LN0aeauWdmp2vU=
=R6xK
-----END PGP SIGNATURE-----

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



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

Reply via email to