com.quadrique.jbuildingblocks.core.io.webServices.client
Class JbbWebServicesClient

java.lang.Object
  extended by com.quadrique.jbuildingblocks.core.io.webServices.client.JbbWebServicesClient

public class JbbWebServicesClient
extends Object

This class is used to call web services.


Method Summary
static JbbWebServicesClient getInstance()
           
 JbbWsdlInvokableObject getWsdlInvokableObject(String operationName, String wsdl)
           
 JbbWsdlInvokableObject getWsdlInvokableObject(String portName, String operationName, JbbWsdlDocument wsdlDocument)
           
 JbbWsdlInvokableObject getWsdlInvokableObject(String portName, String operationName, String wsdl)
           
 String invoke(String wsdl, String operationName, Object[] params)
          Given wsdl, operationName and inputParameters will invoke the method.
 String invokeMethod(JbbWsdlInvokableObject invokableObject)
          This method is used to invoke wsdl operation dynamically.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static JbbWebServicesClient getInstance()

invokeMethod

public String invokeMethod(JbbWsdlInvokableObject invokableObject)
                    throws Exception
This method is used to invoke wsdl operation dynamically.

Parameters:
invokableObject -
Returns:
Throws:
Exception

invoke

public String invoke(String wsdl,
                     String operationName,
                     Object[] params)
              throws Exception
Given wsdl, operationName and inputParameters will invoke the method.

Parameters:
wsdl -
operationName -
params -
Returns:
Throws:
Exception

getWsdlInvokableObject

public JbbWsdlInvokableObject getWsdlInvokableObject(String operationName,
                                                     String wsdl)
                                              throws Exception
Parameters:
portName -
operationName -
wsdl -
Returns:
Throws:
Exception

getWsdlInvokableObject

public JbbWsdlInvokableObject getWsdlInvokableObject(String portName,
                                                     String operationName,
                                                     String wsdl)
                                              throws Exception
Parameters:
portName -
operationName -
wsdl -
Returns:
Throws:
Exception

getWsdlInvokableObject

public JbbWsdlInvokableObject getWsdlInvokableObject(String portName,
                                                     String operationName,
                                                     JbbWsdlDocument wsdlDocument)
                                              throws Exception
Parameters:
portName -
operationName -
wsdlDocument -
Returns:
Throws:
Exception


Copyright © 2001-2008 Quadrique Corporation. All Rights Reserved.