axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashley (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AXIS2-5059) Multiple Includes in a WSDL fails with Error "Schema name conflict in collection. Namespace: "
Date Wed, 01 Jun 2011 12:39:47 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-5059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13042136#comment-13042136
] 

Ashley commented on AXIS2-5059:
-------------------------------

                WSDL11ToAxisServiceBuilder wsdl2AxisServiceBuilder = new WSDL11ToAxisServiceBuilder(wsdlAsStream,
null, null);
		WebServiceServiceWSDLLocator webServiceServiceWSDLLocator = new WebServiceServiceWSDLLocator(wsdlAsStream,
wsdlUrl, complexTypesImportInputSourceProvider);
		wsdl2AxisServiceBuilder.setCustomWSDLResolver(webServiceServiceWSDLLocator);
		wsdl2AxisServiceBuilder.setCustomResolver(webServiceServiceWSDLLocator);
		wsdl2AxisServiceBuilder.setDocumentBaseUri(wsdlUrl); // todo this may
		// not be
		// correct.
		AxisService wsdlBasedService = wsdl2AxisServiceBuilder.populateService()		

> Multiple Includes in a WSDL fails with Error "Schema name conflict in collection. Namespace:
"
> ----------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-5059
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5059
>             Project: Axis2
>          Issue Type: Bug
>          Components: deployment, wsdl
>    Affects Versions: 1.4.1, 1.5.2
>         Environment: Axis 1.4..1
>            Reporter: Ashley
>            Priority: Blocker
>              Labels: axis, include
>         Attachments: 1.wsdl, GetSupervisorsRequestPayload.xsd, GetSupervisorsResponsePayload.xsd
>
>
> 1. WSDL (wsdl1) has a TNS : tnswsdl
> 2. wsdl1 has a schema (schema1)
> 3. schema1 has TNS as tnsSchema
> 4. schema1 has two includes to two XSDs (xsd1 & xsd2).
> 5. Both XSDs has TNS as tnsSchema
> 6. read fails with "Schema name conflict in collection. Namespace: " 

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

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message