[
https://wso2.org/jira/browse/ESBJAVA-585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=28008#action_28008
]
Hiranya Jayathilaka commented on ESBJAVA-585:
---------------------------------------------
The WSDL URLs specified in the ESB configuration must be direct URLs to actuals
WSDLs.
Different WS implementations have different ways to retrieve WSDLs and it is
not possible to support all WSDL retrieval mechanisms in the ESB code.
Therefore the most logical solution is to get the user to specify the direct
links to the WSDLs. In case of .NET the user must specify the location referred
by the <contractRef> element.
> Source URL doesn't support .NET Web Service WSDL URL
> ----------------------------------------------------
>
> Key: ESBJAVA-585
> URL: https://wso2.org/jira/browse/ESBJAVA-585
> Project: WSO2 ESB
> Issue Type: Improvement
> Components: Endpoints Management
> Affects Versions: FUTURE
> Environment: 2.0 beta 3 / Linux FC6 / Java 1.5
> Reporter: Steve Sherwood
> Assignee: Hiranya Jayathilaka
> Priority: High
>
> The normal way of specifying a WSDL for a .NET service is to specify
> http://<service_addr>?WSDL. This fails in 2.0 beta 3.
> The an endpoint WSDL is specified and the WSDL is retrieved the system should
> check to see if the result is HTML and in the header section there is the
> line
> <link rel="alternate" type="text/xml"
> href="/DumbService/<servicename>.asmx?disco" />
> and do a GET on this instead. This returns something similar to the
> following..
> <?xml version="1.0" encoding="utf-8"?>
> <discovery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns="http://schemas.xmlsoap.org/disco/">
> <contractRef ref="http://firkin/DumbService/Service1.asmx?wsdl"
> docRef="http://firkin/DumbService/Service1.asmx"
> xmlns="http://schemas.xmlsoap.org/disco/scl/" />
> <soap address="http://firkin/DumbService/Service1.asmx"
> xmlns:q1="http://tempuri.org/" binding="q1:Service1Soap"
> xmlns="http://schemas.xmlsoap.org/disco/soap/" />
> <soap address="http://firkin/DumbService/Service1.asmx"
> xmlns:q2="http://tempuri.org/" binding="q2:Service1Soap12"
> xmlns="http://schemas.xmlsoap.org/disco/soap/" />
> </discovery>
> This can be parsed for <contractRef> element which holds the actual URL of
> the WSDL file.
> This is the only correct and reliable way of supporting .NET web services.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Esb-java-dev mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev