| 1 |
<deployment xmlns="http://xml.apache.org/axis/wsdd/" |
| 2 |
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"> |
| 3 |
|
| 4 |
<service name="Employee" provider="java:RPC"> |
| 5 |
<namespace>http://faults.samples</namespace> |
| 6 |
<parameter name="className" value="samples.faults.EmployeeInfo"/> |
| 7 |
<parameter name="allowedMethods" value="addEmployee getEmployees getEmployee"/> |
| 8 |
<parameter name="scope" value="Session"/> |
| 9 |
<operation name="addEmployee" qname="operNS:addEmployee" xmlns:operNS="http://faults.samples" > |
| 10 |
<parameter name="in" type="tns:Employee" xmlns:tns="http://faults.samples"/> |
| 11 |
</operation> |
| 12 |
|
| 13 |
<operation name="getEmployee" qname="operNS:getEmployee" xmlns:operNS="http://faults.samples" returnQName="getEmployeeReturn" returnType="rtns:Employee" xmlns:rtns="http://faults.samples" > |
| 14 |
<parameter name="id" type="tns:string" xmlns:tns="http://www.w3.org/2001/XMLSchema"/> |
| 15 |
<fault name="NoSuchEmployeeFault" qname="fns:fault" xmlns:fns="http://localhost:8080/ch09/services/Employee" class="samples.faults.NoSuchEmployeeFault" type="tns:NoSuchEmployeeFault" xmlns:tns="http://faults.samples"/> |
| 16 |
</operation> |
| 17 |
|
| 18 |
<operation name="getEmployees" qname="operNS:getEmployees" xmlns:operNS="http://faults.samples" returnQName="getEmployeesReturn" returnType="rtns:ArrayOf_tns1_Employee" xmlns:rtns="http://localhost:8080/ch09/services/Employee" > |
| 19 |
</operation> |
| 20 |
|
| 21 |
<typeMapping |
| 22 |
xmlns:ns="http://faults.samples" |
| 23 |
qname="ns:NoSuchEmployeeFault" |
| 24 |
type="java:samples.faults.NoSuchEmployeeFault" |
| 25 |
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" |
| 26 |
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" |
| 27 |
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" |
| 28 |
/> |
| 29 |
<typeMapping |
| 30 |
xmlns:ns="http://localhost:8080/ch09/services/Employee" |
| 31 |
qname="ns:ArrayOf_tns1_Employee" |
| 32 |
type="java:samples.faults.Employee[]" |
| 33 |
serializer="org.apache.axis.encoding.ser.ArraySerializerFactory" |
| 34 |
deserializer="org.apache.axis.encoding.ser.ArrayDeserializerFactory" |
| 35 |
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" |
| 36 |
/> |
| 37 |
<typeMapping |
| 38 |
xmlns:ns="http://faults.samples" |
| 39 |
qname="ns:Employee" |
| 40 |
type="java:samples.faults.Employee" |
| 41 |
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" |
| 42 |
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" |
| 43 |
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" |
| 44 |
/> |
| 45 |
|
| 46 |
</service> |
| 47 |
</deployment> |