juddi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kurt T Stam (JIRA)" <juddi-...@ws.apache.org>
Subject [jira] [Resolved] (JUDDI-474) "Response wrapper bean names must be unique" exception when generate wsdl from UDDISubscriptionPortType
Date Tue, 24 May 2011 21:32:47 GMT

     [ https://issues.apache.org/jira/browse/JUDDI-474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kurt T Stam resolved JUDDI-474.
-------------------------------

    Resolution: Won't Fix

Pleas reopen if this is still an issue

> "Response wrapper bean names must be unique" exception when generate wsdl from UDDISubscriptionPortType
> -------------------------------------------------------------------------------------------------------
>
>                 Key: JUDDI-474
>                 URL: https://issues.apache.org/jira/browse/JUDDI-474
>             Project: jUDDI
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.1.0
>            Reporter: Shawn Jiang
>            Assignee: Kurt T Stam
>         Attachments: 0001-remove-the-strange-responseWrapper-for-a-void-web-me.patch
>
>
> I got  "Response wrapper bean names must be unique and must not clash with other generated
classes."  when I tried to use sun jaxws tool to generate wsdl for UDDISubscriptionPortType.
> I looked into the source code and find there are duplicated localName "subscriptions"
in two method.
>  @ResponseWrapper(localName = "subscriptions", targetNamespace = "urn:uddi-org:sub_v3",
className = "org.uddi.sub_v3.Subscriptions")
>     public List<Subscription> getSubscriptions(
> @ResponseWrapper(localName = "subscriptions", targetNamespace = "urn:uddi-org:sub_v3",
className = "org.uddi.sub_v3.Subscriptions")
>     public void saveSubscription(
> As you can see, the last method is a void method,    Just guess a responseWrapper is
not needed for a void method.    The WSDL generation is success after I removed the @responseWrapper
 from method "void saveSubscription"

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

Mime
View raw message