opensubscriber
   Find in this group all groups
 
Unknown more information…

a : axis-user@ws.apache.org 11 September 2009 • 10:45PM -0400

Generated WSDL has wrong "types"
by Lorenzo Carnevale

REPLY TO AUTHOR
 
REPLY TO GROUP




Sorry, I have yet another problem.
I have to add the policy tags to the wsdl, so I use USEORIGINALWSDL to
false... the resulting WSDL copies the policy tags correctly from
SERVICES.XML, but the original 'types' of the input and output elements
disappered...

Origianl WSDL :

<element name="ExecuteSelectResponse">
    <complexType>
        <sequence>
            <element name="Result" minOccurs="0" type="tse:selectResponse"
/>
        </sequence>
    </complexType>
</element>

<complexType name="selectResponse">
    <sequence>
        <element name="response" type="xsd:int" />
        <element name="xmlResponse" type="xsd:base64Binary" />
        <element name="message" type="xsd:string" />
    </sequence>
</complexType>

Generated WSDL:

<xs:element name="ExecuteSelectResponse">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element minOccurs="0" name="return"
nillable="true" type="xs:anyType"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>

So the usual 'wizards' that build clients from WSDLs can't really guess
what's going on.
Thanks
              Lorenzo

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.