You are viewing a plain text version of this content. The canonical link for it is here.
Posted to savan-dev@ws.apache.org by "rahul yadav (JIRA)" <ji...@apache.org> on 2010/06/23 16:37:50 UTC

[jira] Updated: (AXIS2-4748) Axis1.4 webservice consumed by Axis2 wsdl2java

     [ https://issues.apache.org/jira/browse/AXIS2-4748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

rahul yadav updated AXIS2-4748:
-------------------------------

    Attachment: EmpServiceImpl.wsdl
                axis2_issue.txt
                stub_classes.rar

EmpServiceImpl.wsdl : is the webservice WSDL. webservice is written using Axis1.4
axis2_issue.txt : Contains the SOAP received from webservice and exception thrown by stub.
stub_classes.rar: this have the stub classes generated by Axis2 wsdl2java APIs.

> Axis1.4 webservice consumed by Axis2 wsdl2java
> ----------------------------------------------
>
>                 Key: AXIS2-4748
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4748
>             Project: Axis2
>          Issue Type: Bug
>          Components: client-api
>    Affects Versions: 1.5.1
>         Environment: Axis1.4 and Axis1.5.1, Java6
>            Reporter: rahul yadav
>             Fix For: 1.5.1
>
>         Attachments: axis2_issue.txt, EmpServiceImpl.wsdl, stub_classes.rar
>
>
> Create a webservice as described under...
> 1. Create 2 bean classes State and City in package com.axis.service.bean, create a webservice business logic class say ServiceImpl in package 
>     com.axis.service.impl, now create any method say returnState in impl and return a instance of State class. Now create a webservice from this using Axis1.4. .
> 2. Once you have webservice generate stubs using Axis2 1.5.1 from webservice wsdl, now call the webservice using this stub. 
> 3. You should see exception in parsing the SOAP received from webservice call from stub.
> This happen only in case where beans and impl classes are in different packages and webservice is developed using Axis1.4 and Stub generated with Axis2. If we keep beans and impl classes in same package things run fine.

-- 
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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org