[
https://issues.apache.org/jira/browse/AXIS-2619?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tong Wang updated AXIS-2619:
----------------------------
Description:
The program get the extension base from the JavaBean property named "value",
which should be "_value".
Steps to reproduce:
1. java org.apache.axis.wsdl.WSDL2Java GroupnetDataSynchService.wsdl
2. compile the generated java files to classes
3. java org.apache.axis.wsdl.Java2WSDL
-l"http://tosh-A70:9043/processes/DataSynchWS"
com.lfg.www.services.GroupNetDataSynch_wsdl.updateDataRequestImpl.GroupnetDataSynchronization
Expected result:
<complexType name="TableFieldType">
<simpleContent>
<extension>
<attribute name="_value" type="xsd:string"/>
<attribute name="columnName" type="xsd:anySimpleType"/>
</extension>
</simpleContent>
</complexType>
in the output wsdl file, which should be
<complexType name="TableFieldType">
<simpleContent>
<extension base="xsd:string">
<attribute name="columnName" type="xsd:anySimpleType"/>
</extension>
</simpleContent>
</complexType>
was:
Steps to reproduce:
1. java org.apache.axis.wsdl.WSDL2Java GroupnetDataSynchService.wsdl
2. compile the generated java files to classes
3. java org.apache.axis.wsdl.Java2WSDL
-l"http://tosh-A70:9043/processes/DataSynchWS"
com.lfg.www.services.GroupNetDataSynch_wsdl.updateDataRequestImpl.GroupnetDataSynchronization
Expected result:
<complexType name="TableFieldType">
<simpleContent>
<extension>
<attribute name="_value" type="xsd:string"/>
<attribute name="columnName" type="xsd:anySimpleType"/>
</extension>
</simpleContent>
</complexType>
in the output wsdl file, which should be
<complexType name="TableFieldType">
<simpleContent>
<extension base="xsd:string">
<attribute name="columnName" type="xsd:anySimpleType"/>
</extension>
</simpleContent>
</complexType>
Summary: Java2WSDL, miss extension base for complex types defined using
xsd:simpleContent and extending a simple type. (was: Java2WSDL, for complex
types defined using xsd:simpleContent and extending a simple type, get the
extension base from the JavaBean property named "value", which should be
"_value".)
> Java2WSDL, miss extension base for complex types defined using
> xsd:simpleContent and extending a simple type.
> -------------------------------------------------------------------------------------------------------------
>
> Key: AXIS-2619
> URL: https://issues.apache.org/jira/browse/AXIS-2619
> Project: Axis
> Issue Type: Bug
> Components: WSDL processing
> Affects Versions: current (nightly)
> Reporter: Tong Wang
> Attachments: GroupnetDataSynchService.wsdl
>
>
> The program get the extension base from the JavaBean property named "value",
> which should be "_value".
> Steps to reproduce:
> 1. java org.apache.axis.wsdl.WSDL2Java GroupnetDataSynchService.wsdl
> 2. compile the generated java files to classes
> 3. java org.apache.axis.wsdl.Java2WSDL
> -l"http://tosh-A70:9043/processes/DataSynchWS"
> com.lfg.www.services.GroupNetDataSynch_wsdl.updateDataRequestImpl.GroupnetDataSynchronization
> Expected result:
> <complexType name="TableFieldType">
> <simpleContent>
> <extension>
> <attribute name="_value" type="xsd:string"/>
> <attribute name="columnName" type="xsd:anySimpleType"/>
> </extension>
> </simpleContent>
> </complexType>
> in the output wsdl file, which should be
> <complexType name="TableFieldType">
> <simpleContent>
> <extension base="xsd:string">
> <attribute name="columnName" type="xsd:anySimpleType"/>
> </extension>
> </simpleContent>
> </complexType>
--
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]