|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.muse.ws.addressing.soap.SimpleSoapClient
org.ogf.graap.wsag.client.remote.Axis2SoapClient
public class Axis2SoapClient
AxisSoapClient
Field Summary | |
---|---|
static int |
DEFAULT_TIME_OUT_IN_MILLI_SECONDS
The SOAP client timeout in milliseconds. |
Constructor Summary | |
---|---|
Axis2SoapClient(ISecurityProperties securityProperties)
Creates a new SOAP client with the given security properties. |
Method Summary | |
---|---|
protected Element |
createMessage(org.apache.muse.ws.addressing.EndpointReference source,
org.apache.muse.ws.addressing.EndpointReference destination,
String action,
Element[] bodyElements,
Element[] extraHeaders)
|
protected Element |
doAxisCall(Element soapRequest,
org.apache.muse.ws.addressing.EndpointReference dest,
String wsaAction)
Executes a SOAP call by using the Axis 2 SOAP engine. |
protected Element[] |
generateExtraHeaders()
|
org.apache.ws.security.components.crypto.Crypto |
getCrypto()
|
Properties |
getProperties()
|
protected ClientSecurityHandler[] |
getSecurityHandler()
|
protected void |
initialize()
initializes this client instance |
Element[] |
send(org.apache.muse.ws.addressing.EndpointReference src,
org.apache.muse.ws.addressing.EndpointReference dest,
String wsaAction,
Element[] body,
Element[] extraHeaders)
|
void |
setProperties(Properties properties)
|
Methods inherited from class org.apache.muse.ws.addressing.soap.SimpleSoapClient |
---|
getConnectionHandler, getDestinationURL, getSoapMonitorPort, getTraceWriter, isUsingSoapMonitor, isUsingTrace, send, setConnectionHandler, setTrace, setTraceWriter, startSoapMonitor, stopSoapMonitor, trace, trace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static int DEFAULT_TIME_OUT_IN_MILLI_SECONDS
Constructor Detail |
---|
public Axis2SoapClient(ISecurityProperties securityProperties)
securityProperties
- the security properties to useMethod Detail |
---|
protected void initialize()
protected Element createMessage(org.apache.muse.ws.addressing.EndpointReference source, org.apache.muse.ws.addressing.EndpointReference destination, String action, Element[] bodyElements, Element[] extraHeaders)
createMessage
in class org.apache.muse.ws.addressing.soap.SimpleSoapClient
public Element[] send(org.apache.muse.ws.addressing.EndpointReference src, org.apache.muse.ws.addressing.EndpointReference dest, String wsaAction, Element[] body, Element[] extraHeaders)
send
in interface org.apache.muse.ws.addressing.soap.SoapClient
send
in class org.apache.muse.ws.addressing.soap.SimpleSoapClient
protected Element doAxisCall(Element soapRequest, org.apache.muse.ws.addressing.EndpointReference dest, String wsaAction) throws org.apache.axis2.AxisFault
soapRequest
- the SOAP request as a DOM elementdest
- the destination EPRwsaAction
- the web service action
org.apache.axis2.AxisFault
- indicates a SOAP fault during the requestprotected Element[] generateExtraHeaders()
SecurityException
protected ClientSecurityHandler[] getSecurityHandler()
public Properties getProperties()
public void setProperties(Properties properties)
properties
- the properties to setpublic org.apache.ws.security.components.crypto.Crypto getCrypto()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |