Nice tip, but this then raises the question, why doesn't wsdl2java
automagically fill this tag since he's the
one responsible for generating the deployment descriptors...


WH

Weicheng Peng wrote:

>try this
>just add   <wsdlFile>c:/xmloutput.wsdl</wsdlFile> into service in wsdd.
>
> <service name="xmloutput" provider="java:RPC">
>  <operation name="xmloutput" qname="xmloutput"
>returnQName="xmloutputResponse" returnType="ns1:XmloutputResponse"
>xmlns:ns1="xmloutput">
>   <parameter name="macroname" type="xsd:string"
>xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
>   <parameter name="item1" type="xsd:double"
>xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
>  </operation>
>  <parameter name="allowedMethods" value="xmloutput"/>
>  <parameter name="wsdlPortType" value="xmloutputPortType"/>
>  <parameter name="className" value="xmloutput.XmloutputBindingTypeImpl"/>
>  <parameter name="wsdlServicePort" value="xmloutput"/>
>  <parameter name="wsdlTargetNamespace" value="xmloutput"/>
>  <parameter name="wsdlServiceElement" value="xmloutput"/>
>  <typeMapping
>deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
>encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
>qname="ns2:ListItemType"
>serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
>type="java:xmloutput.ListItemType" xmlns:ns2="xmloutput"/>
>  <typeMapping
>deserializer="org.apache.axis.encoding.ser.ArrayDeserializerFactory"
>encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; qname="ns3:List"
>serializer="org.apache.axis.encoding.ser.ArraySerializerFactory"
>type="java:xmloutput.ListItemType[]" xmlns:ns3="xmloutput"/>
>  <typeMapping
>deserializer="org.apache.axis.encoding.ser.ArrayDeserializerFactory"
>encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; qname="ns4:Item1"
>serializer="org.apache.axis.encoding.ser.ArraySerializerFactory"
>type="java:double[]" xmlns:ns4="xmloutput"/>
>  <typeMapping
>deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
>encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
>qname="ns5:XmloutputEnd"
>serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
>type="java:xmloutput.XmloutputEnd" xmlns:ns5="xmloutput"/>
>  <typeMapping
>deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
>encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
>qname="ns6:XmloutputResponse"
>serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
>type="java:xmloutput.XmloutputResponse" xmlns:ns6="xmloutput"/>
>  <wsdlFile>c:/xmloutput.wsdl</wsdlFile>
> </service>
>
>Weiceheng
>
>----- Original Message -----
>From: "Kevin Jones" <[EMAIL PROTECTED]>
>To: "Axis User" <[EMAIL PROTECTED]>
>Sent: Friday, December 20, 2002 9:16 AM
>Subject: Returning my own WSDL from ?wsdl
>
>
>  
>
>>After I've created and deployed a web service is there ant way to get
>>Axis to turn off automatic WSDL generation when it sees the ?wsdl
>>parameter and instead get it to return wsdl that i deploy with the
>>service?
>>
>>Thanks,
>>
>>Kevin Jones
>>    
>>
>
>
>
>  
>


Reply via email to