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:26:33 UTC

[jira] Created: (AXIS2-3429) JAXWS classloading issues with annotated class with aar based deployment

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


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


[jira] Commented: (AXIS2-3429) JAXWS classloading issues with annotated class with aar based deployment

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12576689#action_12576689 ] 

Davanum Srinivas commented on AXIS2-3429:
-----------------------------------------

this should be already fixed.

thanks,
dims

> 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


[jira] Updated: (AXIS2-3429) JAXWS classloading issues with annotated class with aar based deployment

Posted by "Lahiru Sandakith (JIRA)" <ji...@apache.org>.
     [ 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


[jira] Resolved: (AXIS2-3429) JAXWS classloading issues with annotated class with aar based deployment

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-3429) JAXWS classloading issues with annotated class with aar based deployment

Posted by "Lahiru Sandakith (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lahiru Sandakith updated AXIS2-3429:
------------------------------------

    Attachment: calculator-jaxws-sample.aar

attaching the aar

> 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