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/07/30 17:56:22 UTC
Axis wsdl-generation with
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>
thanks->Re: Axis wsdl-generation with
Posted by remko de knikker <re...@yale.edu>.
Thanks Jeff.
I don't think that it is a good solution by Axis, but soi.
remko
Jeff Greif wrote:
>If I understand correctly, you're not doing anything wrong. I believe Axis
>is only supposed to register the existence and location of this imported
>file, and to use it if it needs to. Similarly for any client code that
>reads the wsdl. The human reader has to find it manually and look at it.
>
>Jeff
>----- Original Message -----
>From: "remko de knikker" <re...@yale.edu>
>To: <ax...@ws.apache.org>
>Sent: Wednesday, July 30, 2003 8:56 AM
>Subject: Axis wsdl-generation with <import>
>
>
>
>
>>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??
>>
>>
>>
>
>
>
>
Re: Axis wsdl-generation with
Posted by Jeff Greif <jg...@alumni.princeton.edu>.
If I understand correctly, you're not doing anything wrong. I believe Axis
is only supposed to register the existence and location of this imported
file, and to use it if it needs to. Similarly for any client code that
reads the wsdl. The human reader has to find it manually and look at it.
Jeff
----- Original Message -----
From: "remko de knikker" <re...@yale.edu>
To: <ax...@ws.apache.org>
Sent: Wednesday, July 30, 2003 8:56 AM
Subject: Axis wsdl-generation with <import>
> 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??
>