1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94
|
<!-- Use this file to deploy some handlers/chains and services -->
<!-- Two ways to do this: -->
<!-- java org.apache.axis.client.AdminClient deploy.wsdd -->
<!-- after the axis server is running -->
<!-- or -->
<!-- java org.apache.axis.utils.Admin client|server deploy.wsdd -->
<!-- from the same directory that the Axis engine runs -->
<deployment
xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
<!-- Services from MyService WSDL service -->
<service name="HelloWorld" provider="java:RPC" style="document" use="literal">
<parameter name="wsdlTargetNamespace" value="http://helloworld.ch/schema/service"/>
<parameter name="wsdlServiceElement" value="MyService"/>
<parameter name="schemaQualified" value="http://helloworld.ch/schema/types"/>
<parameter name="wsdlServicePort" value="HelloWorld"/>
<parameter name="className" value="test.wsdl.axis2098.MySOAPBindingImpl"/>
<parameter name="wsdlPortType" value="MyPort"/>
<parameter name="typeMappingVersion" value="1.2"/>
<operation name="helloWorld" qname="HelloWorld" returnQName="retNS:MyResponse" xmlns:retNS="http://helloworld.ch/schema/types" returnType="rtns:MyResponseType" xmlns:rtns="http://helloworld.ch/schema/types" >
<parameter qname="pns:MyRequest" xmlns:pns="http://helloworld.ch/schema/types" type="tns:MyRequestType" xmlns:tns="http://helloworld.ch/schema/types"/>
</operation>
<parameter name="allowedMethods" value="helloWorld"/>
<parameter name="scope" value="Session"/>
<requestFlow>
<handler type="java:test.wsdl.axis2098.TestHandler"/>
</requestFlow>
<responseFlow>
<handler type="java:test.wsdl.axis2098.TestHandler"/>
</responseFlow>
<typeMapping
xmlns:ns="http://helloworld.ch/schema/types"
qname="ns:StringType"
type="java:java.lang.String"
serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
encodingStyle=""
/>
<typeMapping
xmlns:ns="http://helloworld.ch/schema/types"
qname="ns:LogicType"
type="java:boolean"
serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
encodingStyle=""
/>
<typeMapping
xmlns:ns="http://helloworld.ch/schema/types"
qname="ns:>StringElem"
type="java:java.lang.String"
serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
encodingStyle=""
/>
<typeMapping
xmlns:ns="http://helloworld.ch/schema/types"
qname="ns:MyRequestType"
type="java:test.wsdl.axis2098.MyRequestType"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
<typeMapping
xmlns:ns="http://helloworld.ch/schema/types"
qname="ns:RestrictionType"
type="java:test.wsdl.axis2098.RestrictionType"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
<typeMapping
xmlns:ns="http://helloworld.ch/schema/types"
qname="ns:XsiTestType"
type="java:test.wsdl.axis2098.XsiTestType"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
<typeMapping
xmlns:ns="http://helloworld.ch/schema/types"
qname="ns:MyResponseType"
type="java:test.wsdl.axis2098.MyResponseType"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
</service>
</deployment>
|