[
https://issues.apache.org/jira/browse/JUDDI-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13032441#comment-13032441
]
Kurt T Stam commented on JUDDI-474:
-----------------------------------
Hi Shawn,
The response wrapper IS needed because 'mode = WebParam.Mode.INOUT', so the
argument passed in, can be modified and send back.
BTW the WSDL is provided by the WS Stack, or simply in our jar. Our classes
where generated from the WSDLs provided by the UDDI v3 spec.
--Kurt
> "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