On 9/5/07, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote:
>
> ant elder wrote:
> > On 9/5/07, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote:
> > <snip>
> >
> > I'm trying to understand the overall picture before choosing a side:
> >
> >> - tolerate what Axis2 generates in our isWrapped() algorithm?
> >>
> >
> >
> > Is it really just the wsdl that Axis2 (1.2) generates?  What about
> anyone
> > using an existing wsdl that is wrapped style but may not precisely match
> the
> > jaxws definition of wrapped?
> >
> >    ...ant
> >
> >
>
> Do you have a specific WSDL pattern in mind?
>
> --
> Jean-Sebastien
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> This was the WSDL from the axis2 java2wsdl tool.

<wsdl:definitions xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/";
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/";
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
    xmlns:http="http://schemas.xmlsoap.org/wsdl/http/";
    xmlns:ns="http://test/xsd"; xmlns:axis2="http://test";
    targetNamespace="http://test";>
    <wsdl:types>
        <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema";
            attributeFormDefault="qualified" elementFormDefault="qualified"
            targetNamespace="http://test/xsd";>
            <xs:element name="fooResponse">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="return" nillable="true"
                            type="xs:string" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:schema>
    </wsdl:types>
    <wsdl:message name="fooMessage" />
    <wsdl:message name="fooResponseMessage">
        <wsdl:part name="part1" element="ns:fooResponse" />
    </wsdl:message>
    <wsdl:portType name="TestServicePortType">
        <wsdl:operation name="foo">
            <wsdl:input
                xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl";
                wsaw:Action="urn:foo" message="axis2:fooMessage" />
            <wsdl:output
                xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl";
                message="axis2:fooResponseMessage" wsaw:Action="urn:foo" />
        </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="TestServiceSOAP11Binding"
        type="axis2:TestServicePortType">
        <soap:binding transport="http://schemas.xmlsoap.org/soap/http";
            style="document" />
        <wsdl:operation name="foo">
            <soap:operation soapAction="urn:foo" style="document" />
            <wsdl:input>
                <soap:body use="literal" />
            </wsdl:input>
            <wsdl:output>
                <soap:body use="literal" />
            </wsdl:output>
        </wsdl:operation>
    </wsdl:binding>
    <wsdl:binding name="TestServiceSOAP12Binding"
        type="axis2:TestServicePortType">
        <soap12:binding transport="http://schemas.xmlsoap.org/soap/http";
            style="document" />
        <wsdl:operation name="foo">
            <soap12:operation soapAction="urn:foo" style="document" />
            <wsdl:input>
                <soap12:body use="literal" />
            </wsdl:input>
            <wsdl:output>
                <soap12:body use="literal" />
            </wsdl:output>
        </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="TestService">
        <wsdl:port name="TestServiceSOAP11port"
            binding="axis2:TestServiceSOAP11Binding">
            <soap:address
                location="http://localhost:8080/axis2/services/TestService";
/>
        </wsdl:port>
        <wsdl:port name="TestServiceSOAP12port"
            binding="axis2:TestServiceSOAP12Binding">
            <soap12:address
                location="http://localhost:8080/axis2/services/TestService";
/>
        </wsdl:port>
    </wsdl:service>
</wsdl:definitions>

Simon

Reply via email to