[
https://issues.apache.org/jira/browse/GERONIMO-2846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lin Sun updated GERONIMO-2846:
------------------------------
Attachment: calculator_axis2.zip
Here's an updated version of the calculator sample for axis2. I had to make
some change to the sample as described in
https://issues.apache.org/jira/browse/AXIS2-2353.
For the first time, I am able to get the calculatorclient.java end to end flow
working:
Retrieving document at
'http://localhost:8080/jaxws-calculator-1.0/calculator?wsdl'.
Sum of 2 and 99 is 101
Sorry hasn't updated this to the sample format yet but thought I should attach
the latest zip file so it is stored somewhere other than my machine.:)
Lin
> 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-M5
>
> Attachments: calculator_axis2.zip, jax-ws-calculator.zip,
> jax-ws-calculator.zip
>
>
> 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.