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
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: [email protected]
For additional commands, e-mail: [email protected]