[ http://jira.andromda.org/browse/WS-23?page=comments#action_15652 ]
Michael Brindamour commented on WS-23: -------------------------------------- Ok, cool, no worries. I'll let you know if this, and/or any of my other hiccups go away. Thanks! > When modeled a class of MyObject and an associated MyObject[], WSCartridge is > generating a duplicate ArrayofMyObject in wsdl > ---------------------------------------------------------------------------------------------------------------------------- > > Key: WS-23 > URL: http://jira.andromda.org/browse/WS-23 > Project: WebService Cartridge > Type: Bug > Environment: Win32, Cygwin, Maven, Java6, Axis2 > Reporter: Michael Brindamour > Assignee: Chad Brandon > > I have modeled a <<ValueObject>> MyObject and an associated MyObject[], > WSCartridge is generating a duplicate ArrayofMyObject in wsdl, one with > type="ns1:MyObject[]", and one with type="ns1:MyObject". In order to use > this generated wsdl to generate webservice client code (currently using CFX), > it is complaining about the duplicate complex type. I am having to comment > out the version using MyObject[] for it to succeed. > andromda.xml webservice namespace: > <namespace name="webservice"> > <properties> > <property > name="schemaTypeMappingsUri">AxisWSDLMappings</property> > <property > name="languageMappingsUri">AxisJavaMappings</property> > <property name="defaultProvider">RPC</property> > <property name="defaultStyle">wrapped</property> > <property name="defaultUse">literal</property> > <property > name="wsdlSoapAddress">http://${webservice.host}:${webservice.port}/axis/services</property> > <property > name="namespacePattern">http://mysite.com/schema/V1.0.0</property> > <property > name="rpcClassNamePattern">{0}.{1}WSDelegator</property> > <property name="applicationName">MyServer</property> > <property name="wsdls">${webservice.generated.dir}</property> > <property > name="configuration">${webservice.generated.dir}</property> > <property > name="webservice-types">${core.generated.dir}</property> > <property > name="mergeMappingsUri">file:${pom.basedir}/conf/wsmerge.xml</property> > </properties> > </namespace> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.andromda.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/