@Alternative public class PullSOAPActionProcessorImpl extends SOAPActionProcessorImpl
This processor is more lenient with parsing, looking only for the required XML tags.
To use this parser you need to install an implementation of the XMLPull API.
Constructor and Description |
---|
PullSOAPActionProcessorImpl() |
Modifier and Type | Method and Description |
---|---|
protected String |
findActionArgumentValue(Map<String,String> entries,
ActionArgument arg) |
protected Map<String,String> |
getMatchingNodes(org.xmlpull.v1.XmlPullParser xpp,
ActionArgument[] args) |
protected void |
readActionInputArguments(org.xmlpull.v1.XmlPullParser xpp,
ActionInvocation actionInvocation) |
protected void |
readActionOutputArguments(org.xmlpull.v1.XmlPullParser xpp,
ActionInvocation actionInvocation) |
protected ActionArgumentValue[] |
readArgumentValues(org.xmlpull.v1.XmlPullParser xpp,
ActionArgument[] args) |
void |
readBody(ActionRequestMessage requestMessage,
ActionInvocation actionInvocation)
Converts SOAP XML content of the request message and sets input argument values on the given invocation.
|
void |
readBody(ActionResponseMessage responseMsg,
ActionInvocation actionInvocation)
Converts SOAP XML content of the response message and sets output argument values on the given invocation.
|
protected void |
readBodyElement(org.xmlpull.v1.XmlPullParser xpp) |
protected void |
readBodyRequest(org.xmlpull.v1.XmlPullParser xpp,
ActionRequestMessage requestMessage,
ActionInvocation actionInvocation) |
protected void |
readBodyResponse(org.xmlpull.v1.XmlPullParser xpp,
ActionInvocation actionInvocation) |
protected ActionException |
readFaultElement(org.xmlpull.v1.XmlPullParser xpp) |
createDocumentBuilderFactory, createValue, error, fatalError, findActionArgumentNode, getMatchingNodes, getMessageBody, getUnprefixedNodeName, readActionInputArguments, readActionOutputArguments, readActionRequestElement, readActionResponseElement, readArgumentValues, readBodyElement, readBodyFailure, readBodyRequest, readBodyResponse, readFaultElement, toString, warning, writeActionInputArguments, writeActionOutputArguments, writeActionRequestElement, writeActionResponseElement, writeBody, writeBody, writeBodyElement, writeBodyFailure, writeBodyRequest, writeBodyResponse, writeFaultElement
protected static Logger log
public void readBody(ActionRequestMessage requestMessage, ActionInvocation actionInvocation) throws UnsupportedDataException
SOAPActionProcessor
readBody
in interface SOAPActionProcessor
readBody
in class SOAPActionProcessorImpl
requestMessage
- The request message from which SOAP content is read.actionInvocation
- The action invocation on which input argument values are set.UnsupportedDataException
public void readBody(ActionResponseMessage responseMsg, ActionInvocation actionInvocation) throws UnsupportedDataException
SOAPActionProcessor
readBody
in interface SOAPActionProcessor
readBody
in class SOAPActionProcessorImpl
responseMsg
- The response message from which SOAP content is read.actionInvocation
- The action invocation on which output argument values are set.UnsupportedDataException
protected void readBodyElement(org.xmlpull.v1.XmlPullParser xpp) throws Exception
Exception
protected void readBodyRequest(org.xmlpull.v1.XmlPullParser xpp, ActionRequestMessage requestMessage, ActionInvocation actionInvocation) throws Exception
Exception
protected void readBodyResponse(org.xmlpull.v1.XmlPullParser xpp, ActionInvocation actionInvocation) throws Exception
Exception
protected void readActionInputArguments(org.xmlpull.v1.XmlPullParser xpp, ActionInvocation actionInvocation) throws Exception
Exception
protected void readActionOutputArguments(org.xmlpull.v1.XmlPullParser xpp, ActionInvocation actionInvocation) throws Exception
Exception
protected Map<String,String> getMatchingNodes(org.xmlpull.v1.XmlPullParser xpp, ActionArgument[] args) throws Exception
Exception
protected ActionArgumentValue[] readArgumentValues(org.xmlpull.v1.XmlPullParser xpp, ActionArgument[] args) throws Exception
Exception
protected String findActionArgumentValue(Map<String,String> entries, ActionArgument arg)
protected ActionException readFaultElement(org.xmlpull.v1.XmlPullParser xpp) throws Exception
Exception
Copyright © 2016 4th Line GmbH, Switzerland. All rights reserved.