|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WSDLOperation
Provides abstraction of wsdl:portType/wsdl:operation.
Method Summary | |
---|---|
WSDLFault |
getFault(javax.xml.namespace.QName faultDetailName)
Gives WSDLFault for the given soap fault detail value. |
java.lang.Iterable<? extends WSDLFault> |
getFaults()
Gets the WSDLFault corresponding to wsdl:fault of this operation. |
WSDLInput |
getInput()
Gets the wsdl:input of this operation |
javax.xml.namespace.QName |
getName()
Gets the name of the wsdl:portType/wsdl:operation@name attribute value as local name and wsdl:definitions@targetNamespace as the namespace uri. |
WSDLOutput |
getOutput()
Gets the wsdl:output of this operation. |
javax.xml.namespace.QName |
getPortTypeName()
Gives the enclosing wsdl:portType@name attribute value. |
boolean |
isOneWay()
Returns true if this operation is an one-way operation. |
Methods inherited from interface com.sun.xml.ws.api.model.wsdl.WSDLExtensible |
---|
addExtension, getExtension, getExtensions, getExtensions |
Methods inherited from interface com.sun.xml.ws.api.model.wsdl.WSDLObject |
---|
getLocation |
Method Detail |
---|
@NotNull javax.xml.namespace.QName getName()
@NotNull WSDLInput getInput()
@Nullable WSDLOutput getOutput()
boolean isOneWay()
java.lang.Iterable<? extends WSDLFault> getFaults()
WSDLFault
corresponding to wsdl:fault of this operation.
@Nullable WSDLFault getFault(javax.xml.namespace.QName faultDetailName)
WSDLFault
for the given soap fault detail value.
Given a wsdl fault: <wsdl:message nae="faultMessage"> <wsdl:part name="fault" element="ns:myException/> </wsdl:message> <wsdl:portType> <wsdl:operation ...> <wsdl:fault name="aFault" message="faultMessage"/> </wsdl:operation> <wsdl:portType> For example given a soap 11 soap message: <soapenv:Fault> ... <soapenv:detail> <ns:myException> ... </ns:myException> </soapenv:detail> QName faultQName = new QName(ns, "myException"); WSDLFault wsdlFault = getFault(faultQName); The above call will return a WSDLFault that abstracts wsdl:portType/wsdl:operation/wsdl:fault.
faultDetailName
- tag name of the element inside soaenv:Fault/detail/, must be non-null.
@NotNull javax.xml.namespace.QName getPortTypeName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |