[
https://issues.apache.org/jira/browse/AXIS2-3429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Davanum Srinivas resolved AXIS2-3429.
-------------------------------------
Resolution: Fixed
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]