[esb-issues] [JBoss JIRA] (JBESB-3789) SOAPProcessor doesn't publish WSDL when used with HTTP Gateway

Jason Shepherd (JIRA) jira-events at lists.jboss.org
Tue May 15 00:56:18 EDT 2012


     [ https://issues.jboss.org/browse/JBESB-3789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Shepherd reopened JBESB-3789:
-----------------------------------



>From a sample, wrapped endpoint URL:

http://myTestServer/myapp-esb/http/myapp?wsdl

I get a WSDL back;

    <wsdl:import location="http://esb.mycompany.cub/schemas/Errors.wsdl"
        namespace="http://css.mycompany.com/ws/errors/v1/">
    </wsdl:import>
    <wsdl:types>
        <xsd:schema xmlns:err="http://css.mycompany.com/ws/errors/v1/"
            xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://css.mycompany.com/ws/sc/myapp/v1/"
            xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsi="http://ws-i.org/schemas/conformanceClaim/"
            xmlns:xsd="http://www.w3.org/2001/XMLSchema">
            <xsd:import namespace="http://css.mycompany.com/ws/sc/myapp/v1/"
                schemaLocation="http://myTestServer/myapp-esb-myapp-esb-ws-0.7.0-SNAPSHOT/myapp?xsd=myapp.xsd" />
        </xsd:schema>
    </wsdl:types>

where the original is

    <!-- Base Service Messages -->
    <wsdl:import namespace="http://css.mycompany.com/ws/errors/v1/"
        location="http://esb.mycompany.cub/schemas/Errors.wsdl" />

    <!-- Data types definition -->
    <wsdl:types>
        <xsd:schema>
            <xsd:import namespace="http://css.mycompany.com/ws/sc/myapp/v1/"
                schemaLocation="myapp.xsd" />
        </xsd:schema>
    </wsdl:types>

                
> SOAPProcessor doesn't publish WSDL when used with HTTP Gateway
> --------------------------------------------------------------
>
>                 Key: JBESB-3789
>                 URL: https://issues.jboss.org/browse/JBESB-3789
>             Project: JBoss ESB
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Web Services
>    Affects Versions: 4.11
>            Reporter: Sato Tadayoshi
>            Assignee: Magesh Bojan
>             Fix For: 4.10 CP2, 4.11 CP1
>
>
> SOAPProcessor can publish WSDL when it is used with JBR Gateway as demonstrated in webservice_producer. But if it is used with HTTP Gateway, it cannot publish WSDL. (For comparison, SOAPProxy publishes WSDL with both JBR and HTTP gateways.)
> The reason is clear that whereas SOAPProxy's annotated publisher (SOAPProxyWsdlContractPublisher) implements ContractProvider interface as well as ActionContractPublisher, SOAPProcessor's annotated publisher (JBossWSWebserviceContractPublisher) implements only ActionContractPublisher. And HTTP Gateway works only with ContractProvider when publishing a WSDL contract.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the esb-issues mailing list