org.ow2.petals.binding.soap.listener.outgoing
Class PetalsServiceClient

java.lang.Object
  extended by org.apache.axis2.client.ServiceClient
      extended by org.ow2.petals.binding.soap.listener.outgoing.PetalsServiceClient

public class PetalsServiceClient
extends org.apache.axis2.client.ServiceClient

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.

Author:
Christophe HAMERLING - eBM WebSourcing
See Also:
https://issues.apache.org/jira/browse/AXIS2-2408

Field Summary
 java.util.logging.Logger logger
           
 
Fields inherited from class org.apache.axis2.client.ServiceClient
ANON_OUT_IN_OP, ANON_OUT_ONLY_OP, ANON_ROBUST_OUT_ONLY_OP, ANON_SERVICE, 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, java.net.URL wsdlURL, javax.xml.namespace.QName wsdlServiceName, java.lang.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, java.util.Map<java.lang.String,org.w3c.dom.DocumentFragment> headers)
           
 void fireAndForget(javax.xml.namespace.QName operationQName, org.apache.axiom.om.OMElement xmlPayload, java.util.Map<java.lang.String,org.w3c.dom.DocumentFragment> headers)
           
protected  org.apache.axiom.soap.SOAPFactory getSOAPFactory()
           
 org.apache.axis2.context.MessageContext sendReceive(javax.xml.namespace.QName operationQName, org.apache.axiom.om.OMElement xmlPayload, java.util.Map<java.lang.String,org.w3c.dom.DocumentFragment> headers)
           
 void sendRobust(javax.xml.namespace.QName operationQName, org.apache.axiom.om.OMElement xmlPayload, java.util.Map<java.lang.String,org.w3c.dom.DocumentFragment> headers)
           
 void setLogger(java.util.logging.Logger logger)
           
 
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
 

Field Detail

logger

public java.util.logging.Logger logger
Constructor Detail

PetalsServiceClient

public PetalsServiceClient(org.apache.axis2.context.ConfigurationContext configContext,
                           org.apache.axis2.description.AxisService axisService)
                    throws org.apache.axis2.AxisFault
Creates a new instance of ServiceClient

Parameters:
configContext -
axisService -
Throws:
org.apache.axis2.AxisFault

PetalsServiceClient

public PetalsServiceClient(org.apache.axis2.context.ConfigurationContext configContext,
                           java.net.URL wsdlURL,
                           javax.xml.namespace.QName wsdlServiceName,
                           java.lang.String portName)
                    throws org.apache.axis2.AxisFault
Creates a new instance of ServiceClient

Parameters:
configContext -
wsdlURL -
wsdlServiceName -
portName -
Throws:
org.apache.axis2.AxisFault
Method Detail

fillSOAPEnvelope

protected void fillSOAPEnvelope(org.apache.axis2.context.MessageContext messageContext,
                                org.apache.axiom.om.OMElement xmlPayload,
                                java.util.Map<java.lang.String,org.w3c.dom.DocumentFragment> headers)
                         throws org.apache.axis2.AxisFault
Throws:
org.apache.axis2.AxisFault

getSOAPFactory

protected org.apache.axiom.soap.SOAPFactory getSOAPFactory()

sendReceive

public org.apache.axis2.context.MessageContext sendReceive(javax.xml.namespace.QName operationQName,
                                                           org.apache.axiom.om.OMElement xmlPayload,
                                                           java.util.Map<java.lang.String,org.w3c.dom.DocumentFragment> headers)
                                                    throws org.apache.axis2.AxisFault
Throws:
org.apache.axis2.AxisFault

fireAndForget

public void fireAndForget(javax.xml.namespace.QName operationQName,
                          org.apache.axiom.om.OMElement xmlPayload,
                          java.util.Map<java.lang.String,org.w3c.dom.DocumentFragment> headers)
                   throws org.apache.axis2.AxisFault
Throws:
org.apache.axis2.AxisFault

sendRobust

public void sendRobust(javax.xml.namespace.QName operationQName,
                       org.apache.axiom.om.OMElement xmlPayload,
                       java.util.Map<java.lang.String,org.w3c.dom.DocumentFragment> headers)
                throws org.apache.axis2.AxisFault
Throws:
org.apache.axis2.AxisFault

setLogger

public final void setLogger(java.util.logging.Logger logger)


Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.