[snip]
Simon Laws wrote:
I've done a bit more investigation now. For the signature

String foo()

Axis2 Java2WSDL generates

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


I'm trying to understand the overall picture before choosing a side:
- tolerate what Axis2 generates in our isWrapped() algorithm?
- or fix the WSDL after it's generated by Axis2?

I have the following two questions:
1) Is it true that the above WSDL has no chance to work at all as it doesn't allow the "foo" operation to be sent at all (since there is no "foo" element to carry it)?

2) Could you please paste the entire WSDL? including the generated binding and service+port? I believe that it'll help answer question (1).

Thanks

--
Jean-Sebastien


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to