[jbossws-issues] [JBoss JIRA] Updated: (JBWS-2891) JAX-WS Detect and report duplicate wrapper classes

Alessio Soldano (JIRA) jira-events at lists.jboss.org
Fri Nov 19 05:52:07 EST 2010


     [ https://jira.jboss.org/browse/JBWS-2891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alessio Soldano updated JBWS-2891:
----------------------------------

    Fix Version/s: jbossws-native-4.0
                       (was: jbossws-native-3.4.0)


> JAX-WS Detect and report duplicate wrapper classes
> --------------------------------------------------
>
>                 Key: JBWS-2891
>                 URL: https://jira.jboss.org/browse/JBWS-2891
>             Project: JBoss Web Services
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: jbossws-native
>    Affects Versions:  jbossws-native-3.2.2
>            Reporter: Darran Lofthouse
>            Assignee: Darran Lofthouse
>             Fix For: jbossws-native-4.0
>
>
> From the JAX-WS specification section 3.6.2.1 regarding Document Wrapped: -
>    Conformance (Default wrapper bean names): In the absence of customizations, the wrapper request bean
> class MUST be named the same as the method and the wrapper response bean class MUST be named the
> same as the method with a "Response" suffix. The first letter of each bean name is capitalized to follow
> Java class naming conventions.
>    Conformance (Wrapper bean name clash): Generated bean classes must have unique names within a pack-
> age and MUST NOT clash with other classes in that package. Clashes during generation MUST be reported
> as an error and require user intervention via name customization to correct. Note that some platforms do not
> distiguish filenames based on case so comparisons MUST ignore case.
> However if two services in the same package have the same operation there is an overlap of the generated wrappers which then causes the schemas between the two WSDLS to overlap.
> Using the @RequestWrapper and @ResponseWrapper annotations does separate the wrappers which also corrects the WSDLs, from the JAX-WS spec 'Conformance' paragraphs above this conflict should have been identified and reported as an error during deployment.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbossws-issues mailing list