public interface WrapperParser
| Modifier and Type | Method and Description |
|---|---|
String |
getMessageName()
Get the optional message "name" defined in the wrapped document.
|
QName |
getMessageType()
Get the message type of the message wrapper in the wrapped document.
|
int |
getNoOfParts() |
String[] |
getPartNames() |
NodeList |
getPartNodes(String partName)
Returns all nodes inside the part wrapper
(a jbi:part element may legally contain multiple Elements, or a text node)
|
Element |
getWrappedPart(String partName)
Returns the part, including the
|
boolean |
hasPart(String partName)
Note that the spec mandates that all parts present in the WSDL message definition
have to appear in the wrapped normalized message - as such this method has limited usefulness
|
void |
parse(Document wrappedDoc,
javax.wsdl.Definition wsdlDefinition)
Parse a normalized message document in JBI WSDL 1.1 wrapper format
|
void |
parse(Document wrappedDoc,
javax.wsdl.Message wsdlMessageDefinition)
Parse a normalized message document in JBI WSDL 1.1 wrapper format
|
void parse(Document wrappedDoc, javax.wsdl.Definition wsdlDefinition) throws WrapperProcessingException
wrappedDoc - the wrapped normalized message documentwsdlDefinition - the full wsdl definition, including the definition for the normalized messageWrapperProcessingException - if there is an issue parsing the normalized message,
e.g. if the normalized message could not be found in the WSDLvoid parse(Document wrappedDoc, javax.wsdl.Message wsdlMessageDefinition) throws WrapperProcessingException
wrappedDoc - the wrapped normalized message documentwsdlMessageDefinition - the wsdl message definition for the normalized messageWrapperProcessingException - if there is an issue parsing the normalized message,
e.g. if the normalized message does not match the WSDL descriptionboolean hasPart(String partName)
partName - the name of the part to checkNodeList getPartNodes(String partName) throws WrapperProcessingException
partName - the name of the partWrapperProcessingException - if the part could not be returnedElement getWrappedPart(String partName) throws WrapperProcessingException
partName - the name of the partWrapperProcessingException - if the part could not be returnedint getNoOfParts()
String[] getPartNames()
QName getMessageType() throws WrapperProcessingException
WrapperProcessingExceptionString getMessageName() throws WrapperProcessingException
WrapperProcessingExceptionCopyright © 2011-2016 OpenESB Community. All Rights Reserved.