I'm having a problem with the attached WSDL.  It is valid, but the code
generated for the operation has the output elements, unwrapped, in the
parameter list and a void return type.  I don't have the option of
changing the WSDL.  Is this something that can be fixed with enough
binding entries, or would the problem be manifesting before it gets to
the binding.

-David Robertson






<?xml version="1.0" encoding="UTF-8"?>

<wsdl:definitions 
	name="RMDefinitions"
	targetNamespace = 	"http://oscars.es.net/OSCARS/rm";
    xmlns:tns = 		"http://oscars.es.net/OSCARS/rm";
    xmlns:xsd =			"http://www.w3.org/2001/XMLSchema";
    xmlns:wsdl =		"http://schemas.xmlsoap.org/wsdl/";
    xmlns:soap = 		"http://schemas.xmlsoap.org/wsdl/soap12/"; >
    
   <!-- Element definitions -->
    <wsdl:types>
        <xsd:schema targetNamespace="http://oscars.es.net/OSCARS/rm";
            elementFormDefault="qualified"
            xmlns:xsd="http://www.w3.org/2001/XMLSchema";
            xmlns:tns="http://oscars.es.net/OSCARS/rm";>
            <xsd:include schemaLocation="example.xsd" />
        </xsd:schema>
    </wsdl:types>

    <wsdl:message name="queryReservation">
        <wsdl:part name="queryReservation"
            element="tns:queryReservation" />
    </wsdl:message>
    <wsdl:message name="queryReservationResponse">
        <wsdl:part name="queryReservationResponse"
            element="tns:queryReservationResponse" />
    </wsdl:message>

    <wsdl:portType name="RMPortType">
        <wsdl:operation name="queryReservation">
            <wsdl:input message="tns:queryReservation" />
            <wsdl:output message="tns:queryReservationResponse" />
        </wsdl:operation>
    </wsdl:portType>
    
	<wsdl:binding name="RMBinding" type="tns:RMPortType">
    
        <soap:binding style="document"
            transport="http://schemas.xmlsoap.org/soap/http"; />

        <wsdl:operation name="queryReservation">
            <soap:operation style="document"
                soapAction="http://oscars.es.net/OSCARS/rm/queryReservation"; />
            <wsdl:input>
                <soap:body use="literal" parts="queryReservation" />
            </wsdl:input>
            <wsdl:output>
                <soap:body use="literal" parts="queryReservationResponse" />
            </wsdl:output>
        </wsdl:operation>

    </wsdl:binding>

    <wsdl:service name="RMService">
        <wsdl:port name="RMPort" binding="tns:RMBinding">
            <soap:address
                location="https://oscars-dev.es.net:9090/axis2/services/OSCARS"; />
        </wsdl:port>
    </wsdl:service>
</wsdl:definitions>
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema 
	targetNamespace = 		"http://oscars.es.net/OSCARS/rm";
    xmlns:tns = 			"http://oscars.es.net/OSCARS/rm";
    xmlns:xsd = 			"http://www.w3.org/2001/XMLSchema";
    xmlns:ctrlp = 			"http://ogf.org/schema/network/topology/ctrlPlane/20080828/";
    elementFormDefault =	"qualified" >

    <xsd:element name="queryReservation" type="tns:globalReservationId" />
    <xsd:element name="queryReservationResponse" type="tns:resDetails" />

    <xsd:complexType name="resDetails">
        <xsd:sequence>
            <xsd:element name="globalReservationId" type="xsd:string" />
            <xsd:element name="login" type="xsd:string" />
        </xsd:sequence>
    </xsd:complexType>

    <xsd:complexType name="globalReservationId">
        <xsd:sequence>
            <xsd:element name="gri" type="xsd:string" />
        </xsd:sequence>
    </xsd:complexType>
</xsd:schema>

Reply via email to