You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Lahiru Sandakith (JIRA)" <ji...@apache.org> on 2008/01/07 14:28:34 UTC
[jira] Updated: (AXIS2-3429) JAXWS classloading issues with
annotated class with aar based deployment
[ https://issues.apache.org/jira/browse/AXIS2-3429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lahiru Sandakith updated AXIS2-3429:
------------------------------------
Attachment: jaxws_mr_classloading_issue_fix.txt
attaching the fix
> JAXWS classloading issues with annotated class with aar based deployment
> ------------------------------------------------------------------------
>
> Key: AXIS2-3429
> URL: https://issues.apache.org/jira/browse/AXIS2-3429
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Reporter: Lahiru Sandakith
> Attachments: calculator-jaxws-sample.aar, jaxws_mr_classloading_issue_fix.txt
>
>
> When we create a annotated class and create and service archive with the services.xml
> <serviceGroup>
> <service name="CalculatorService">
> <parameter name="useOriginalwsdl">true</parameter>
> <messageReceivers>
> <messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-out"
> class="org.apache.axis2.jaxws.server.JAXWSMessageReceiver"/>
> </messageReceivers>
> <parameter name="ServiceClass">calculator.service.JAXWSCalculatorService</parameter>
> <operation name="add" mep="http://www.w3.org/2004/08/wsdl/in-out">
> <actionMapping/>
> </operation>
> </service>
> </serviceGroup>
> deployed the aar and invoked the client
> public class Client {
> public static void main(String[] args) throws Exception{
> CalculatorServiceStub stub = new CalculatorServiceStub();
> CalculatorServiceStub.Add add = new CalculatorServiceStub.Add();
> add.setValue1(10);
> add.setValue2(20);
> try {
> stub.add(add);
> } catch (RemoteException e) {
> e.printStackTrace();
> }
> }
> }
> JAXWS MR could not load the other dependent classes
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org