cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CXF-1229) Check for element name clash in request and response messages ignores setting of enableWrapperStyle
Date Wed, 02 Apr 2008 22:50:24 GMT

    [ https://issues.apache.org/jira/browse/CXF-1229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12584875#action_12584875
] 

Daniel Kulp commented on CXF-1229:
----------------------------------


CXF-918 IS actually fixed and the code is generated OK if you can get it to the code generator
part.   The problem that is occuring now is that we've enabled some level of validation of
the wsdl (to make sure the wsdl is actually OK) PRIOR to the code generation.   The validation
isn't taking the enableWrapperStyle stuff into account.     I have a fix for that, but I won't
have time today to fully test it and get it committed.   Hopefully tomorrow.

Dan




> Check for element name clash in request and response messages ignores setting of enableWrapperStyle
> ---------------------------------------------------------------------------------------------------
>
>                 Key: CXF-1229
>                 URL: https://issues.apache.org/jira/browse/CXF-1229
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.0.2
>            Reporter: Christian Pfeifhofer
>            Assignee: Daniel Kulp
>             Fix For: 2.1
>
>         Attachments: test.zip
>
>
> One way to get around the method signature problems with a request and a response message
having an element with the same name but with different datatypes is to disable wrapper style.
wsdl2java (of CXF 2.0.2-incubator) ignores the setting of enableWrapperStyle and always fails
to generate code in that case, reporting an error:
> WSDLToJava Error : Element
> {http://order.rbp.tmobile.at/services/rbpCheckDevices/}data has Having the
> same name with different
> types[{http://order.rbp.tmobile.at/datatypes}RbpCheckDevicesRequestDataType
> -- {http://order.rbp.tmobile.at/datatypes}RbpCheckDevicesResponseDataType],
> In wrapper style, there is a collision as per the spec.
> wsdl2java should check for enableWrapperStyle to be true (global and for a specific operation)
before checking for name clashes in request and response messages and skip the check otherwise.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message