org.wso2.carbon.integration.common.utils.clients
Class SecureAxisServiceClient

java.lang.Object
  extended by org.wso2.carbon.integration.common.utils.clients.SecureAxisServiceClient
All Implemented Interfaces:
CallbackHandler

public class SecureAxisServiceClient
extends Object
implements CallbackHandler


Constructor Summary
SecureAxisServiceClient()
           
 
Method Summary
 void handle(Callback[] callbacks)
           
 org.apache.axiom.om.OMElement sendReceive(String userName, String password, String endpointReference, String operation, org.apache.axiom.om.OMElement payload, int securityScenarioNo)
          This will send request by getting keyStore wso2carbon.jks
 org.apache.axiom.om.OMElement sendReceive(String userName, String password, String endpointReference, String operation, org.apache.axiom.om.OMElement payload, String securityPolicyPath, String userCertAlias, String encryptionUser, String keyStorePath, String keyStorePassword)
           
 void sendRobust(String userName, String password, String endpointReference, String operation, org.apache.axiom.om.OMElement payload, int securityScenarioNo)
          This will send request by getting keyStore wso2carbon.jks
 void sendRobust(String userName, String password, String endpointReference, String operation, org.apache.axiom.om.OMElement payload, String securityPolicyPath, String userCertAlias, String encryptionUser, String keyStorePath, String keyStorePassword)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecureAxisServiceClient

public SecureAxisServiceClient()
Method Detail

sendReceive

public org.apache.axiom.om.OMElement sendReceive(String userName,
                                                 String password,
                                                 String endpointReference,
                                                 String operation,
                                                 org.apache.axiom.om.OMElement payload,
                                                 int securityScenarioNo)
                                          throws Exception
This will send request by getting keyStore wso2carbon.jks

Parameters:
userName -
password -
endpointReference -
operation -
payload -
securityScenarioNo -
Returns:
Throws:
Exception

sendReceive

public org.apache.axiom.om.OMElement sendReceive(String userName,
                                                 String password,
                                                 String endpointReference,
                                                 String operation,
                                                 org.apache.axiom.om.OMElement payload,
                                                 String securityPolicyPath,
                                                 String userCertAlias,
                                                 String encryptionUser,
                                                 String keyStorePath,
                                                 String keyStorePassword)
                                          throws Exception
Parameters:
userName -
password -
endpointReference -
operation -
payload -
securityPolicyPath -
userCertAlias -
encryptionUser -
keyStorePath -
keyStorePassword -
Returns:
Throws:
Exception

sendRobust

public void sendRobust(String userName,
                       String password,
                       String endpointReference,
                       String operation,
                       org.apache.axiom.om.OMElement payload,
                       int securityScenarioNo)
                throws Exception
This will send request by getting keyStore wso2carbon.jks

Parameters:
userName -
password -
endpointReference -
operation -
payload -
securityScenarioNo -
Throws:
Exception

sendRobust

public void sendRobust(String userName,
                       String password,
                       String endpointReference,
                       String operation,
                       org.apache.axiom.om.OMElement payload,
                       String securityPolicyPath,
                       String userCertAlias,
                       String encryptionUser,
                       String keyStorePath,
                       String keyStorePassword)
                throws Exception
Parameters:
userName -
password -
endpointReference -
operation -
payload -
securityPolicyPath -
userCertAlias -
encryptionUser -
keyStorePath -
keyStorePassword -
Throws:
Exception

handle

public void handle(Callback[] callbacks)
            throws IOException,
                   UnsupportedCallbackException
Specified by:
handle in interface CallbackHandler
Throws:
IOException
UnsupportedCallbackException


Copyright © 2015 WSO2. All rights reserved.