|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.axis2.client.ServiceClient
org.ow2.petals.binding.soap.listener.outgoing.PetalsServiceClient
public class PetalsServiceClient
A ServiceClient extension to be abble to get
the entire SOAPBody of the service response. This is because Axis2 only
returns the first element of the SOAPBody which will not work with
multiref responses.
https://issues.apache.org/jira/browse/AXIS2-2408| Field Summary |
|---|
| Fields inherited from class org.apache.axis2.client.ServiceClient |
|---|
ANON_OUT_IN_OP, ANON_OUT_ONLY_OP, ANON_ROBUST_OUT_ONLY_OP, ANON_SERVICE, AUTO_OPERATION_CLEANUP, log |
| Constructor Summary | |
|---|---|
PetalsServiceClient(org.apache.axis2.context.ConfigurationContext configContext,
org.apache.axis2.description.AxisService axisService)
Creates a new instance of ServiceClient |
|
PetalsServiceClient(org.apache.axis2.context.ConfigurationContext configContext,
javax.wsdl.Definition wsdl4jDefinition,
QName wsdlServiceName,
String portName)
Creates a new instance of ServiceClient |
|
PetalsServiceClient(org.apache.axis2.context.ConfigurationContext configContext,
URL wsdlURL,
QName wsdlServiceName,
String portName)
Creates a new instance of ServiceClient |
|
| Method Summary | |
|---|---|
protected void |
fillSOAPEnvelope(org.apache.axis2.context.MessageContext messageContext,
org.apache.axiom.om.OMElement xmlPayload)
|
protected void |
fillSOAPEnvelope(org.apache.axis2.context.MessageContext messageContext,
org.apache.axiom.om.OMElement xmlPayload,
Map<String,DocumentFragment> headers)
|
protected org.apache.axiom.soap.SOAPFactory |
getSOAPFactory()
|
org.apache.axis2.context.MessageContext |
sendReceiveBody(QName operationQName,
org.apache.axiom.om.OMElement xmlPayload,
Map<String,DocumentFragment> headers)
Send / receive a message and add some SOAP header values... |
| Methods inherited from class org.apache.axis2.client.ServiceClient |
|---|
addHeader, addHeader, addHeadersToEnvelope, addStringHeader, cleanup, cleanupTransport, createClient, disengageModule, disengageModule, engageModule, engageModule, equals, finalize, fireAndForget, fireAndForget, getAxisConfiguration, getAxisService, getLastOperationContext, getMyEPR, getOptions, getOverrideOptions, getServiceContext, getTargetEPR, hashCode, removeHeaders, sendReceive, sendReceive, sendReceiveNonBlocking, sendReceiveNonBlocking, sendReceiveNonBlocking, sendReceiveNonBlocking, sendRobust, sendRobust, setAxisService, setCachingOperationContext, setOptions, setOverrideOptions, setTargetEPR |
| Methods inherited from class java.lang.Object |
|---|
clone, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PetalsServiceClient(org.apache.axis2.context.ConfigurationContext configContext,
org.apache.axis2.description.AxisService axisService)
throws org.apache.axis2.AxisFault
configContext - axisService -
org.apache.axis2.AxisFault
public PetalsServiceClient(org.apache.axis2.context.ConfigurationContext configContext,
javax.wsdl.Definition wsdl4jDefinition,
QName wsdlServiceName,
String portName)
throws org.apache.axis2.AxisFault
configContext - wsdl4jDefinition - wsdlServiceName - portName -
org.apache.axis2.AxisFault
public PetalsServiceClient(org.apache.axis2.context.ConfigurationContext configContext,
URL wsdlURL,
QName wsdlServiceName,
String portName)
throws org.apache.axis2.AxisFault
configContext - wsdlURL - wsdlServiceName - portName -
org.apache.axis2.AxisFault| Method Detail |
|---|
protected void fillSOAPEnvelope(org.apache.axis2.context.MessageContext messageContext,
org.apache.axiom.om.OMElement xmlPayload)
throws org.apache.axis2.AxisFault
messageContext - xmlPayload -
org.apache.axis2.AxisFault
protected void fillSOAPEnvelope(org.apache.axis2.context.MessageContext messageContext,
org.apache.axiom.om.OMElement xmlPayload,
Map<String,DocumentFragment> headers)
throws org.apache.axis2.AxisFault
messageContext - xmlPayload - headers -
org.apache.axis2.AxisFaultprotected org.apache.axiom.soap.SOAPFactory getSOAPFactory()
public org.apache.axis2.context.MessageContext sendReceiveBody(QName operationQName,
org.apache.axiom.om.OMElement xmlPayload,
Map<String,DocumentFragment> headers)
throws org.apache.axis2.AxisFault
operationQName - xmlPayload - headers -
org.apache.axis2.AxisFault
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||