Problem/Question:
when Axis generates the wsdl for my webservice, whose wsdl contains an <import> it doesn't 'expand'/or import the reference, but merely reprints the import statement.
Am I doing something wrong, or is this the (in my opinion, if so, not very practical) preferred method??


I am using an import statement to import the messagedefinitions:

<wsdl:import namespace="http://biryani.med.yale.edu:8081/axis/ns/hapi";
location="http://localhost:8080/axis/ns/hapi/gethapiMessageDefinition.wsdl"/>


to import

<wsdl:definitions targetNamespace="http://biryani.med.yale.edu:8081/axis/ns/hapi";
some other namespaces>
<wsdl:types>
<xsd:schema
blabla
</xsd:schema>
</wsdl:types>
<wsdl:message name="method2Request">
<wsdl:part element="tns:method2Request" name="tns:method2Request"/>
</wsdl:message>
<wsdl:message name="method2Response">
<wsdl:part element="tns:method2Response" name="tns:method2Response"/>
</wsdl:message>
</wsdl:definitions>





Reply via email to