[ 
https://wso2.org/jira/browse/MASHUP-620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15763#action_15763
 ] 

Jonathan Marsh commented on MASHUP-620:
---------------------------------------

JSStubGenarator.java [sic] converts the WSDL 1.1 to WSDL 2.0 using Axis:

                    wsdl11ToAxisServiceBuilder = new 
WSDL11ToAllAxisServicesBuilder(inStream);
                    AxisService service = 
wsdl11ToAxisServiceBuilder.populateService();
                    service.printWSDL2(outputStream);

The result is the following (corrupt) service element:

    <wsdl2:service name="ndfdXML" interface="tns:ndfdXMLPortType">
        <wsdl2:endpoint name="ndfdXMLPort" binding="tns:ndfdXMLBinding" 
address="ndfdXML"/>
    </wsdl2:service>

Notice the bad address - should be the endpoint address from the WSDL 1.1 doc.

> Endpoint address incorrect in auto-generated stub
> -------------------------------------------------
>
>                 Key: MASHUP-620
>                 URL: https://wso2.org/jira/browse/MASHUP-620
>             Project: WSO2 Mashup Server
>          Issue Type: Bug
>         Environment: 1.0.2
>            Reporter: Jonathan Marsh
>            Assignee: Keith Godwin Chapman
>             Fix For: 1.1
>
>
> JS stub from http://www.weather.gov/forecasts/xml/DWMLgen/wsdl/ndfdXML.wsdl
> Shows endpoint address as "ndfdXML" instead of 
> "http://www.weather.gov/forecasts/xml/SOAP_server/ndfdXMLserver.php"; - not 
> picking it up correctly in the translation from WSDL 1.1 to 2.0?

-- 
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

        

_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev

Reply via email to