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 "Thomas Raddatz (JIRA)" <ji...@apache.org> on 2012/10/16 21:53:03 UTC
[jira] [Created] (AXIS2-5438) Namespace incorrectly added to
unqualified elements
Thomas Raddatz created AXIS2-5438:
-------------------------------------
Summary: Namespace incorrectly added to unqualified elements
Key: AXIS2-5438
URL: https://issues.apache.org/jira/browse/AXIS2-5438
Project: Axis2
Issue Type: Bug
Components: codegen
Affects Versions: 1.5
Reporter: Thomas Raddatz
A Web Service skeleton that is generated by WSDL2JAVA incorrectly adds namespaces to unqualified elements of the response message. In contrast to that the client is expected to send a request message with unqualified elements.
Correct request message:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:dstns="http://www.ibm.com/rules/decisionservice/Tra/OTST" xmlns:wns1="http://www.ilog.com/rules" xmlns:wns2="http://www.ibm.com/rules/decisionservice/Tra/OTST/param">
<soapenv:Body>
<dstns:OTSTRequest>
<dstns:DecisionID>aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee</dstns:DecisionID>
<wns2:odr>
<wns1:order>
<oamount>123</oamount>
<amount>456</amount>
</wns1:order>
</wns2:odr>
</dstns:OTSTRequest>
</soapenv:Body>
</soapenv:Envelope>
Incorrect response message:
<?xml version='1.0' encoding='UTF-8'?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<ns3:OTSTResponse xmlns:ns3="http://www.ibm.com/rules/decisionservice/Tra/OTST">
<ns3:DecisionID>aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee</ns3:DecisionID>
<odr xmlns="http://www.ibm.com/rules/decisionservice/Tra/OTST/param">
<order xmlns="http://www.ilog.com/rules">
<oamount>123</oamount>
<amount>456</amount>
</order>
</odr>
</ns3:OTSTResponse>
</soapenv:Body>
</soapenv:Envelope>
According to the wsdl file, both messages have the same format.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[jira] [Updated] (AXIS2-5438) Namespace incorrectly added to
unqualified elements
Posted by "Thomas Raddatz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-5438?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Raddatz updated AXIS2-5438:
----------------------------------
Description:
A Web Service skeleton that is generated by WSDL2JAVA incorrectly adds namespaces to unqualified elements of the response message. In contrast to that the client is expected to send a request message with unqualified elements.
Correct request message:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:dstns="http://www.ibm.com/rules/decisionservice/Tra/OTST" xmlns:wns1="http://www.ilog.com/rules" xmlns:wns2="http://www.ibm.com/rules/decisionservice/Tra/OTST/param">
<soapenv:Body>
<dstns:OTSTRequest>
<dstns:DecisionID>aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee</dstns:DecisionID>
<wns2:odr>
<wns1:order>
<oamount>123</oamount>
<amount>456</amount>
</wns1:order>
</wns2:odr>
</dstns:OTSTRequest>
</soapenv:Body>
</soapenv:Envelope>
Incorrect response message:
<?xml version='1.0' encoding='UTF-8'?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<ns3:OTSTResponse xmlns:ns3="http://www.ibm.com/rules/decisionservice/Tra/OTST">
<ns3:DecisionID>aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee</ns3:DecisionID>
<odr xmlns="http://www.ibm.com/rules/decisionservice/Tra/OTST/param">
<order xmlns="http://www.ilog.com/rules">
<oamount>123</oamount>
<amount>456</amount>
</order>
</odr>
</ns3:OTSTResponse>
</soapenv:Body>
</soapenv:Envelope>
According to the wsdl file, both messages have the same format.
Version 1.5.6 is affected as well.
was:
A Web Service skeleton that is generated by WSDL2JAVA incorrectly adds namespaces to unqualified elements of the response message. In contrast to that the client is expected to send a request message with unqualified elements.
Correct request message:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:dstns="http://www.ibm.com/rules/decisionservice/Tra/OTST" xmlns:wns1="http://www.ilog.com/rules" xmlns:wns2="http://www.ibm.com/rules/decisionservice/Tra/OTST/param">
<soapenv:Body>
<dstns:OTSTRequest>
<dstns:DecisionID>aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee</dstns:DecisionID>
<wns2:odr>
<wns1:order>
<oamount>123</oamount>
<amount>456</amount>
</wns1:order>
</wns2:odr>
</dstns:OTSTRequest>
</soapenv:Body>
</soapenv:Envelope>
Incorrect response message:
<?xml version='1.0' encoding='UTF-8'?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<ns3:OTSTResponse xmlns:ns3="http://www.ibm.com/rules/decisionservice/Tra/OTST">
<ns3:DecisionID>aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee</ns3:DecisionID>
<odr xmlns="http://www.ibm.com/rules/decisionservice/Tra/OTST/param">
<order xmlns="http://www.ilog.com/rules">
<oamount>123</oamount>
<amount>456</amount>
</order>
</odr>
</ns3:OTSTResponse>
</soapenv:Body>
</soapenv:Envelope>
According to the wsdl file, both messages have the same format.
> Namespace incorrectly added to unqualified elements
> ---------------------------------------------------
>
> Key: AXIS2-5438
> URL: https://issues.apache.org/jira/browse/AXIS2-5438
> Project: Axis2
> Issue Type: Bug
> Components: codegen
> Affects Versions: 1.5
> Reporter: Thomas Raddatz
> Attachments: OTSTDecisionService.wsdl
>
>
> A Web Service skeleton that is generated by WSDL2JAVA incorrectly adds namespaces to unqualified elements of the response message. In contrast to that the client is expected to send a request message with unqualified elements.
> Correct request message:
> <?xml version="1.0" encoding="UTF-8"?>
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:dstns="http://www.ibm.com/rules/decisionservice/Tra/OTST" xmlns:wns1="http://www.ilog.com/rules" xmlns:wns2="http://www.ibm.com/rules/decisionservice/Tra/OTST/param">
> <soapenv:Body>
> <dstns:OTSTRequest>
> <dstns:DecisionID>aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee</dstns:DecisionID>
> <wns2:odr>
> <wns1:order>
> <oamount>123</oamount>
> <amount>456</amount>
> </wns1:order>
> </wns2:odr>
> </dstns:OTSTRequest>
> </soapenv:Body>
> </soapenv:Envelope>
> Incorrect response message:
> <?xml version='1.0' encoding='UTF-8'?>
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
> <soapenv:Body>
> <ns3:OTSTResponse xmlns:ns3="http://www.ibm.com/rules/decisionservice/Tra/OTST">
> <ns3:DecisionID>aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee</ns3:DecisionID>
> <odr xmlns="http://www.ibm.com/rules/decisionservice/Tra/OTST/param">
> <order xmlns="http://www.ilog.com/rules">
> <oamount>123</oamount>
> <amount>456</amount>
> </order>
> </odr>
> </ns3:OTSTResponse>
> </soapenv:Body>
> </soapenv:Envelope>
> According to the wsdl file, both messages have the same format.
> Version 1.5.6 is affected as well.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[jira] [Updated] (AXIS2-5438) Namespace incorrectly added to
unqualified elements
Posted by "Thomas Raddatz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-5438?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Raddatz updated AXIS2-5438:
----------------------------------
Attachment: OTSTDecisionService.wsdl
Example WSDL file used to generate a skeleton and a client stub.
> Namespace incorrectly added to unqualified elements
> ---------------------------------------------------
>
> Key: AXIS2-5438
> URL: https://issues.apache.org/jira/browse/AXIS2-5438
> Project: Axis2
> Issue Type: Bug
> Components: codegen
> Affects Versions: 1.5
> Reporter: Thomas Raddatz
> Attachments: OTSTDecisionService.wsdl
>
>
> A Web Service skeleton that is generated by WSDL2JAVA incorrectly adds namespaces to unqualified elements of the response message. In contrast to that the client is expected to send a request message with unqualified elements.
> Correct request message:
> <?xml version="1.0" encoding="UTF-8"?>
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:dstns="http://www.ibm.com/rules/decisionservice/Tra/OTST" xmlns:wns1="http://www.ilog.com/rules" xmlns:wns2="http://www.ibm.com/rules/decisionservice/Tra/OTST/param">
> <soapenv:Body>
> <dstns:OTSTRequest>
> <dstns:DecisionID>aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee</dstns:DecisionID>
> <wns2:odr>
> <wns1:order>
> <oamount>123</oamount>
> <amount>456</amount>
> </wns1:order>
> </wns2:odr>
> </dstns:OTSTRequest>
> </soapenv:Body>
> </soapenv:Envelope>
> Incorrect response message:
> <?xml version='1.0' encoding='UTF-8'?>
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
> <soapenv:Body>
> <ns3:OTSTResponse xmlns:ns3="http://www.ibm.com/rules/decisionservice/Tra/OTST">
> <ns3:DecisionID>aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee</ns3:DecisionID>
> <odr xmlns="http://www.ibm.com/rules/decisionservice/Tra/OTST/param">
> <order xmlns="http://www.ilog.com/rules">
> <oamount>123</oamount>
> <amount>456</amount>
> </order>
> </odr>
> </ns3:OTSTResponse>
> </soapenv:Body>
> </soapenv:Envelope>
> According to the wsdl file, both messages have the same format.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[jira] [Commented] (AXIS2-5438) Namespace incorrectly added to
unqualified elements
Posted by "Thomas Raddatz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-5438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13480015#comment-13480015 ]
Thomas Raddatz commented on AXIS2-5438:
---------------------------------------
Seems to be fixed with 1.6.2.
> Namespace incorrectly added to unqualified elements
> ---------------------------------------------------
>
> Key: AXIS2-5438
> URL: https://issues.apache.org/jira/browse/AXIS2-5438
> Project: Axis2
> Issue Type: Bug
> Components: codegen
> Affects Versions: 1.5
> Reporter: Thomas Raddatz
> Attachments: OTSTDecisionService.wsdl
>
>
> A Web Service skeleton that is generated by WSDL2JAVA incorrectly adds namespaces to unqualified elements of the response message. In contrast to that the client is expected to send a request message with unqualified elements.
> Correct request message:
> <?xml version="1.0" encoding="UTF-8"?>
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:dstns="http://www.ibm.com/rules/decisionservice/Tra/OTST" xmlns:wns1="http://www.ilog.com/rules" xmlns:wns2="http://www.ibm.com/rules/decisionservice/Tra/OTST/param">
> <soapenv:Body>
> <dstns:OTSTRequest>
> <dstns:DecisionID>aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee</dstns:DecisionID>
> <wns2:odr>
> <wns1:order>
> <oamount>123</oamount>
> <amount>456</amount>
> </wns1:order>
> </wns2:odr>
> </dstns:OTSTRequest>
> </soapenv:Body>
> </soapenv:Envelope>
> Incorrect response message:
> <?xml version='1.0' encoding='UTF-8'?>
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
> <soapenv:Body>
> <ns3:OTSTResponse xmlns:ns3="http://www.ibm.com/rules/decisionservice/Tra/OTST">
> <ns3:DecisionID>aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee</ns3:DecisionID>
> <odr xmlns="http://www.ibm.com/rules/decisionservice/Tra/OTST/param">
> <order xmlns="http://www.ilog.com/rules">
> <oamount>123</oamount>
> <amount>456</amount>
> </order>
> </odr>
> </ns3:OTSTResponse>
> </soapenv:Body>
> </soapenv:Envelope>
> According to the wsdl file, both messages have the same format.
> Version 1.5.6 is affected as well.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[jira] [Closed] (AXIS2-5438) Namespace incorrectly added to
unqualified elements
Posted by "Thomas Raddatz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-5438?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Raddatz closed AXIS2-5438.
---------------------------------
Resolution: Fixed
Fix Version/s: 1.6.2
Seems to be fixed in 1.6.2.
> Namespace incorrectly added to unqualified elements
> ---------------------------------------------------
>
> Key: AXIS2-5438
> URL: https://issues.apache.org/jira/browse/AXIS2-5438
> Project: Axis2
> Issue Type: Bug
> Components: codegen
> Affects Versions: 1.5
> Reporter: Thomas Raddatz
> Fix For: 1.6.2
>
> Attachments: OTSTDecisionService.wsdl
>
>
> A Web Service skeleton that is generated by WSDL2JAVA incorrectly adds namespaces to unqualified elements of the response message. In contrast to that the client is expected to send a request message with unqualified elements.
> Correct request message:
> <?xml version="1.0" encoding="UTF-8"?>
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:dstns="http://www.ibm.com/rules/decisionservice/Tra/OTST" xmlns:wns1="http://www.ilog.com/rules" xmlns:wns2="http://www.ibm.com/rules/decisionservice/Tra/OTST/param">
> <soapenv:Body>
> <dstns:OTSTRequest>
> <dstns:DecisionID>aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee</dstns:DecisionID>
> <wns2:odr>
> <wns1:order>
> <oamount>123</oamount>
> <amount>456</amount>
> </wns1:order>
> </wns2:odr>
> </dstns:OTSTRequest>
> </soapenv:Body>
> </soapenv:Envelope>
> Incorrect response message:
> <?xml version='1.0' encoding='UTF-8'?>
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
> <soapenv:Body>
> <ns3:OTSTResponse xmlns:ns3="http://www.ibm.com/rules/decisionservice/Tra/OTST">
> <ns3:DecisionID>aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee</ns3:DecisionID>
> <odr xmlns="http://www.ibm.com/rules/decisionservice/Tra/OTST/param">
> <order xmlns="http://www.ilog.com/rules">
> <oamount>123</oamount>
> <amount>456</amount>
> </order>
> </odr>
> </ns3:OTSTResponse>
> </soapenv:Body>
> </soapenv:Envelope>
> According to the wsdl file, both messages have the same format.
> Version 1.5.6 is affected as well.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org