Axis 1.X WSDD Reference: fault

Can be used in

operation

Description

Metadata about exceptions can be provided using the fault element.
<service name="PurchaseService" 
         provider="java:RPC"
	 xmlns:ns="http://osmoticweb.com/PurchaseService/"
         xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <parameter name="className" value="com.osmoticweb.axisdemo.PurchaseService"/>
    <operation qname="ns:orderItem"
	       returnType="xsd:boolean"
               returnQName="ns:orderItemResponse">
        <fault qname="ns:OutOfStockException" 
	       type="ns:OutOfStockExceptionType"
	       class="com.osmoticweb.OutOfStockException"/>
    </operation>
</service>

Attributes

NameMandatoryDefaultDescriptionExamples
namenoClassname of the exception without the package

Name of the fault used for the portType and binding in generated WSDL

OutOfStockException
qnameno-

Qualified name used as part name of a fault message in WSDL

impl:OutOfStockFault
classyes-

Class name of the exception belonging to the fault

com.osmoticweb.OutOfStockException
typenoClassname of the exception without the package

Schema type used for the fault

OutOfStockExceptionType

Index

Provided by predic8.com