modified jax-ws calculator sample to work with CXF and Axis2
------------------------------------------------------------
Key: GERONIMO-2846
URL: https://issues.apache.org/jira/browse/GERONIMO-2846
Project: Geronimo
Issue Type: Improvement
Security Level: public (Regular issues)
Components: sample apps
Affects Versions: 2.0-M2
Environment: winxp + sun jsk 1.5
Reporter: Lin Sun
Fix For: 2.0
Hi Dims,
Per your request, here's the modified version of the sample.
Current issues:
1) I haven't been able to run the webservice client outside of my eclipse env.
Getting CNF error if I ran the client as "java -jar jaxws-calculator-1.0.jar".
This could be fixed by providing an ant script or build the java execution
into maven's pom.xml.
2) Running the Axis2 CalculatorClient client caused
Caused by: java.lang.ClassNotFoundException: com.sun.xml.ws.spi.ProviderImpl
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at javax.xml.ws.spi.FactoryFinder.newInstance(FactoryFinder.java:34)
... 6 more
I just added this client back in this morning so I probably have missed the
dependency for this one. There are so many Axis2 dependencies so if you know
which one I need let me know.:)
Running the Axis2 CalculatorClientAxiom client works fine.
Thanks, Lin
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.