You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Glen Mazza (JIRA)" <ji...@apache.org> on 2007/10/27 23:50:50 UTC
[jira] Created: (CXF-1146) wsdl2java validator incorrectly
requiring doc/lit soap:body messages to have namespaces
wsdl2java validator incorrectly requiring doc/lit soap:body messages to have namespaces
---------------------------------------------------------------------------------------
Key: CXF-1146
URL: https://issues.apache.org/jira/browse/CXF-1146
Project: CXF
Issue Type: Bug
Affects Versions: 2.0.2
Reporter: Glen Mazza
R2717[1] is incorrectly activating for doc/lit bindings, requiring a namespace attribute:
WSDLToJava Error : Violate WSI-BP-1.0 R2717 soapBody in the input/output of the binding operation 'getCityInfo' MUST have namespace attribute
Only rpc/lit must have a namespace. Doc/lit (wrapped) bindings should not (must not?[2]) have namespace attributes.
[1] http://www.ws-i.org/Profiles/BasicProfile-1.0-2004-04-16.html#R2717
[2] http://atmanes.blogspot.com/2005/03/wrapped-documentliteral-convention.html; Quote: "In the binding definition, the soap:binding should specify style="document" (although this is the default value, so the attribute may be omitted), and the soap:body definitions must specify use="literal" and nothing else. You must not specify the namespace or encodingStyle attributes in the soap:body definition." (I cannot find anything more authoritative than this blog entry on this point, however.)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CXF-1146) wsdl2java validator incorrectly
requiring doc/lit soap:body messages to have namespaces
Posted by "maomaode (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12538446 ]
maomaode commented on CXF-1146:
-------------------------------
Hi Glen,
Can you check this with the latest trunk, i think i have fixed this.
Thanks
> wsdl2java validator incorrectly requiring doc/lit soap:body messages to have namespaces
> ---------------------------------------------------------------------------------------
>
> Key: CXF-1146
> URL: https://issues.apache.org/jira/browse/CXF-1146
> Project: CXF
> Issue Type: Bug
> Affects Versions: 2.0.2
> Reporter: Glen Mazza
> Attachments: SampleWebService.wsdl
>
>
> R2717[1] is incorrectly activating for doc/lit bindings, requiring a namespace attribute:
> WSDLToJava Error : Violate WSI-BP-1.0 R2717 soapBody in the input/output of the binding operation 'getCityInfo' MUST have namespace attribute
> Only rpc/lit must have a namespace. Doc/lit (wrapped) bindings should not (must not?[2]) have namespace attributes.
> [1] http://www.ws-i.org/Profiles/BasicProfile-1.0-2004-04-16.html#R2717
> [2] http://atmanes.blogspot.com/2005/03/wrapped-documentliteral-convention.html; Quote: "In the binding definition, the soap:binding should specify style="document" (although this is the default value, so the attribute may be omitted), and the soap:body definitions must specify use="literal" and nothing else. You must not specify the namespace or encodingStyle attributes in the soap:body definition." (I cannot find anything more authoritative than this blog entry on this point, however.)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CXF-1146) wsdl2java validator incorrectly
requiring doc/lit soap:body messages to have namespaces
Posted by "Glen Mazza (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Glen Mazza updated CXF-1146:
----------------------------
Attachment: SampleWebService.wsdl
Sample WSDL that illustrates the problem.
> wsdl2java validator incorrectly requiring doc/lit soap:body messages to have namespaces
> ---------------------------------------------------------------------------------------
>
> Key: CXF-1146
> URL: https://issues.apache.org/jira/browse/CXF-1146
> Project: CXF
> Issue Type: Bug
> Affects Versions: 2.0.2
> Reporter: Glen Mazza
> Attachments: SampleWebService.wsdl
>
>
> R2717[1] is incorrectly activating for doc/lit bindings, requiring a namespace attribute:
> WSDLToJava Error : Violate WSI-BP-1.0 R2717 soapBody in the input/output of the binding operation 'getCityInfo' MUST have namespace attribute
> Only rpc/lit must have a namespace. Doc/lit (wrapped) bindings should not (must not?[2]) have namespace attributes.
> [1] http://www.ws-i.org/Profiles/BasicProfile-1.0-2004-04-16.html#R2717
> [2] http://atmanes.blogspot.com/2005/03/wrapped-documentliteral-convention.html; Quote: "In the binding definition, the soap:binding should specify style="document" (although this is the default value, so the attribute may be omitted), and the soap:body definitions must specify use="literal" and nothing else. You must not specify the namespace or encodingStyle attributes in the soap:body definition." (I cannot find anything more authoritative than this blog entry on this point, however.)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CXF-1146) wsdl2java validator incorrectly
requiring doc/lit soap:body messages to have namespaces
Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12538819 ]
Daniel Kulp commented on CXF-1146:
----------------------------------
The bug is still there on 2.0.3 SNAPSHOT as of this morning.
> wsdl2java validator incorrectly requiring doc/lit soap:body messages to have namespaces
> ---------------------------------------------------------------------------------------
>
> Key: CXF-1146
> URL: https://issues.apache.org/jira/browse/CXF-1146
> Project: CXF
> Issue Type: Bug
> Affects Versions: 2.0.2
> Reporter: Glen Mazza
> Attachments: SampleWebService.wsdl
>
>
> R2717[1] is incorrectly activating for doc/lit bindings, requiring a namespace attribute:
> WSDLToJava Error : Violate WSI-BP-1.0 R2717 soapBody in the input/output of the binding operation 'getCityInfo' MUST have namespace attribute
> Only rpc/lit must have a namespace. Doc/lit (wrapped) bindings should not (must not?[2]) have namespace attributes.
> [1] http://www.ws-i.org/Profiles/BasicProfile-1.0-2004-04-16.html#R2717
> [2] http://atmanes.blogspot.com/2005/03/wrapped-documentliteral-convention.html; Quote: "In the binding definition, the soap:binding should specify style="document" (although this is the default value, so the attribute may be omitted), and the soap:body definitions must specify use="literal" and nothing else. You must not specify the namespace or encodingStyle attributes in the soap:body definition." (I cannot find anything more authoritative than this blog entry on this point, however.)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (CXF-1146) wsdl2java validator incorrectly
requiring doc/lit soap:body messages to have namespaces
Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp resolved CXF-1146.
------------------------------
Resolution: Fixed
Fix Version/s: 2.0.3
Assignee: Daniel Kulp
> wsdl2java validator incorrectly requiring doc/lit soap:body messages to have namespaces
> ---------------------------------------------------------------------------------------
>
> Key: CXF-1146
> URL: https://issues.apache.org/jira/browse/CXF-1146
> Project: CXF
> Issue Type: Bug
> Affects Versions: 2.0.2
> Reporter: Glen Mazza
> Assignee: Daniel Kulp
> Fix For: 2.0.3
>
> Attachments: SampleWebService.wsdl
>
>
> R2717[1] is incorrectly activating for doc/lit bindings, requiring a namespace attribute:
> WSDLToJava Error : Violate WSI-BP-1.0 R2717 soapBody in the input/output of the binding operation 'getCityInfo' MUST have namespace attribute
> Only rpc/lit must have a namespace. Doc/lit (wrapped) bindings should not (must not?[2]) have namespace attributes.
> [1] http://www.ws-i.org/Profiles/BasicProfile-1.0-2004-04-16.html#R2717
> [2] http://atmanes.blogspot.com/2005/03/wrapped-documentliteral-convention.html; Quote: "In the binding definition, the soap:binding should specify style="document" (although this is the default value, so the attribute may be omitted), and the soap:body definitions must specify use="literal" and nothing else. You must not specify the namespace or encodingStyle attributes in the soap:body definition." (I cannot find anything more authoritative than this blog entry on this point, however.)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.