[
https://issues.apache.org/jira/browse/JUDDI-474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shawn Jiang updated JUDDI-474:
------------------------------
Attachment: 0001-remove-the-strange-responseWrapper-for-a-void-web-me.patch
> "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