[
https://issues.apache.org/jira/browse/TUSCANY-2043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12569001#action_12569001
]
Raymond Feng commented on TUSCANY-2043:
---------------------------------------
In Tuscany, if there are multiple WSDLs under the same namespace, we return a
facade WSDL4J Definition that use "wsdl:import" to import the physical WSDL
definitions.
1) You can navigate the imports of the facade WSDL definition to get the
document URI of the physical WSDLs.
2) Maybe there is a way to find the physical WSDL defintion that actually
contains the WSDL artifact. The current code resolve WSDLDefinition at the
Definition level. The unresolved object type is not helpful unless it goes down
to Service/Port/PortType/Binding level. We need to change the code to resolve
interface.wsdl and wsdlElement at finer level.
Thanks,
Raymond
> documentBaseURI is null when multiple wsdls in contribution with same
> namespace
> ----------------------------------------------------------------------------------
>
> Key: TUSCANY-2043
> URL: https://issues.apache.org/jira/browse/TUSCANY-2043
> Project: Tuscany
> Issue Type: Bug
> Reporter: Lou Amodeo
> Assignee: Simon Laws
> Fix For: Java-SCA-1.2
>
> Attachments: helloworld-ws-asynch.jar
>
>
> I have a case where there are 2 wsdl files in the contribution with the same
> namespace. After the WSDL resolution the
> documentBaseURI attribute of the wsdl's DefinitionImpl is null. The is
> normally completed in the WebServiceBindingProcessor.resolve(). In this
> particular case there are 2 binding.ws elements in the contribution. One for
> the service and one for its <callback> binding. If I change the TNS of one
> of the WSDL files then the documnetBaseURI is filled in during the
> WebServiceBindingProcessor.resolve. So it appears there is in issue in the
> WSDL Model resolver when it finds multiple WSDL files with the same TNS.
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]