You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by remko de knikker <re...@yale.edu> on 2003/06/26 18:54:28 UTC

wsdlInputSchema generates 2 schema's in

I included in my wsdd the wsdlInputSchema which includes my own inputmessage's schema, but it seems as if axis changes the name of the request messsage 
and defines its own input schema regardless/or on top of my self defined one?? It now points to the axis generated inputSchema of type=xsd:anyType
the part component changed its name to name=part, (method1 instead of method1Request), see below:
should I do something additional, or how is this correctly interpreted by a wsdl-reader?? I read it that the message method1Request has a type=xsd:anyType, 
but it should point to my input schema...??

<wsdl:types>

 <xsd:schema xmlns:tns="http://biryani.med.yale.edu" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
 <xsd:element name="method1Request">
 ....my input schema....
 </xsd:element>

 <schema targetNamespace="" xmlns="http://www.w3.org/2001/XMLSchema">
  <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
  <element name="method1" type="xsd:anyType"/>
  <element name="method1Return" type="xsd:anyType"/>
 </schema>

</wsdl:types>

<wsdl:message name="method1Response">
    <wsdl:part element="method1Return" name="method1Return"/>
</wsdl:message>
<wsdl:message name="method1Request">
    <wsdl:part element="method1" name="part"/>
</wsdl:message>