public class

ServiceCxfClient

extends Object
implements OracleEBSFinancialServices
java.lang.Object
   ↳ org.mule.modules.oracle.client.ServiceCxfClient

Summary

Fields
private static final Function<ServiceMessage, String> GET_TEXT_FUNCTION Function that takes a ServiceMessage and returns a String with its text property.
private final String basePathPlSql
private final Bus bus
private final DqmSearchServicePortType dqmSearchServicePort
private final EmailServicePortType emailServicePort
private final ClientPasswordHandler handler
private final LocationServicePortType locationServicePort
private static final Logger logger
private final String nlsLanguage
private final OrgContactServicePortType orgContactServicePort
private final OrgCustomerServicePortType orgCustomerServicePort
private final String orgId
private final OrganizationServicePortType organizationServicePort
private final PartySiteServicePortType partySiteServicePort
private final PersonCustomerServicePortType personCustomerServicePort
private final PersonServicePortType personServicePort
private final PhoneServicePortType phoneServicePort
private final RelationshipServicePortType relationshipServicePort
private final String responsibilityApplName
private final String responsibilityName
private final FNDWEBSECPortType secServicePort
private final String securityGroupName
private final String username
private final WebServicePortType webServicePort
private final XMLGatewayPortType xmlGatewayPort
Public Constructors
ServiceCxfClient(Bus bus, String username, String password, String basePath, String basePathPlSql, String responsibilityName, String responsibilityApplName, String securityGroupName, String nlsLanguage, String orgId)
Public Methods
EmailServiceCreateEmailResponse createEmail(ServiceBeanHeader header, EmailServiceCreateEmail body)
LocationServiceCreateLocationResponse createLocation(ServiceBeanHeader header, LocationServiceCreateLocation body)
OrgContactServiceCreateOrgContactResponse createOrgContact(ServiceBeanHeader header, OrgContactServiceCreateOrgContact body)
OrgCustomerServiceCreateOrgCustomerResponse createOrgCustomer(ServiceBeanHeader header, OrgCustomerServiceCreateOrgCustomer body)
OrganizationServiceCreateOrganizationResponse createOrganization(ServiceBeanHeader header, OrganizationServiceCreateOrganization body)
PartySiteServiceCreatePartySiteResponse createPartySite(ServiceBeanHeader header, PartySiteServiceCreatePartySite body)
PersonServiceCreatePersonResponse createPerson(ServiceBeanHeader header, PersonServiceCreatePerson body)
PersonCustomerServiceCreatePersonCustomerResponse createPersonCustomer(ServiceBeanHeader header, PersonCustomerServiceCreatePersonCustomer body)
PhoneServiceCreatePhoneResponse createPhone(ServiceBeanHeader header, PhoneServiceCreatePhone body)
RelationshipServiceCreateRelationshipResponse createRelationship(ServiceBeanHeader header, RelationshipServiceCreateRelationship body)
WebServiceCreateWebResponse createWeb(ServiceBeanHeader header, WebServiceCreateWeb body)
DqmSearchServiceFindPartiesResponse findParties(ServiceBeanHeader header, DqmSearchServiceFindParties body)
OrgCustomerServiceGetOrgCustsCreatedResponse getCustomersCreated(ServiceBeanHeader header, OrgCustomerServiceGetOrgCustsCreated body)
OrgCustomerServiceGetOrgCustsUpdatedResponse getCustomersUpdated(ServiceBeanHeader header, OrgCustomerServiceGetOrgCustsUpdated body)
EmailServiceGetEmailResponse getEmail(ServiceBeanHeader header, EmailServiceGetEmail body)
LocationServiceGetLocationResponse getLocation(ServiceBeanHeader header, LocationServiceGetLocation body)
OrgContactServiceGetOrgContactResponse getOrgContact(ServiceBeanHeader header, OrgContactServiceGetOrgContact body)
OrgCustomerServiceGetOrgCustomerResponse getOrgCustomer(ServiceBeanHeader header, OrgCustomerServiceGetOrgCustomer body)
OrganizationServiceGetOrganizationResponse getOrganization(ServiceBeanHeader header, OrganizationServiceGetOrganization body)
OrganizationServiceGetOrganizationsCreatedResponse getOrganizationsCreated(ServiceBeanHeader header, OrganizationServiceGetOrganizationsCreated body)
OrganizationServiceGetOrganizationsUpdatedResponse getOrganizationsUpdated(ServiceBeanHeader header, OrganizationServiceGetOrganizationsUpdated body)
PartySiteServiceGetPartySiteResponse getPartySite(ServiceBeanHeader header, PartySiteServiceGetPartySite body)
PersonServiceGetPersonResponse getPerson(ServiceBeanHeader header, PersonServiceGetPerson body)
PersonCustomerServiceGetPersonCustomerResponse getPersonCustomer(ServiceBeanHeader header, PersonCustomerServiceGetPersonCustomer body)
PersonCustomerServiceGetPersonCustsCreatedResponse getPersonCustomersCreated(ServiceBeanHeader header, PersonCustomerServiceGetPersonCustsCreated body)
PersonCustomerServiceGetPersonCustsUpdatedResponse getPersonCustomersUpdated(ServiceBeanHeader header, PersonCustomerServiceGetPersonCustsUpdated body)
PersonServiceGetPersonsCreatedResponse getPersonsCreated(ServiceBeanHeader header, PersonServiceGetPersonsCreated body)
PersonServiceGetPersonsUpdatedResponse getPersonsUpdated(ServiceBeanHeader header, PersonServiceGetPersonsUpdated body)
PhoneServiceGetPhoneResponse getPhone(ServiceBeanHeader header, PhoneServiceGetPhone body)
RelationshipServiceGetRelationshipResponse getRelationship(ServiceBeanHeader header, RelationshipServiceGetRelationship body)
WebServiceGetWebResponse getWeb(ServiceBeanHeader header, WebServiceGetWeb body)
XMLStreamReader invokePLSQL(String type, XMLStreamReader input)
EmailServiceSaveEmailResponse saveEmail(ServiceBeanHeader header, EmailServiceSaveEmail body)
LocationServiceSaveLocationResponse saveLocation(ServiceBeanHeader header, LocationServiceSaveLocation body)
OrgContactServiceSaveOrgContactResponse saveOrgContact(ServiceBeanHeader header, OrgContactServiceSaveOrgContact body)
OrgCustomerServiceSaveOrgCustomerResponse saveOrgCustomer(ServiceBeanHeader header, OrgCustomerServiceSaveOrgCustomer body)
OrganizationServiceSaveOrganizationResponse saveOrganization(ServiceBeanHeader header, OrganizationServiceSaveOrganization body)
PartySiteServiceSavePartySiteResponse savePartySite(ServiceBeanHeader header, PartySiteServiceSavePartySite body)
PersonServiceSavePersonResponse savePerson(ServiceBeanHeader header, PersonServiceSavePerson body)
PersonCustomerServiceSavePersonCustomerResponse savePersonCustomer(ServiceBeanHeader header, PersonCustomerServiceSavePersonCustomer body)
PhoneServiceSavePhoneResponse savePhone(ServiceBeanHeader header, PhoneServiceSavePhone body)
RelationshipServiceSaveRelationshipResponse saveRelationship(ServiceBeanHeader header, RelationshipServiceSaveRelationship body)
WebServiceSaveWebResponse saveWeb(ServiceBeanHeader header, WebServiceSaveWeb body)
EmailServiceUpdateEmailResponse updateEmail(ServiceBeanHeader header, EmailServiceUpdateEmail body)
LocationServiceUpdateLocationResponse updateLocation(ServiceBeanHeader header, LocationServiceUpdateLocation body)
OrgContactServiceUpdateOrgContactResponse updateOrgContact(ServiceBeanHeader header, OrgContactServiceUpdateOrgContact body)
OrgCustomerServiceUpdateOrgCustomerResponse updateOrgCustomer(ServiceBeanHeader header, OrgCustomerServiceUpdateOrgCustomer body)
OrganizationServiceUpdateOrganizationResponse updateOrganization(ServiceBeanHeader header, OrganizationServiceUpdateOrganization body)
PartySiteServiceUpdatePartySiteResponse updatePartySite(ServiceBeanHeader header, PartySiteServiceUpdatePartySite body)
PersonServiceUpdatePersonResponse updatePerson(ServiceBeanHeader header, PersonServiceUpdatePerson body)
PersonCustomerServiceUpdatePersonCustomerResponse updatePersonCustomer(ServiceBeanHeader header, PersonCustomerServiceUpdatePersonCustomer body)
PhoneServiceUpdatePhoneResponse updatePhone(ServiceBeanHeader header, PhoneServiceUpdatePhone body)
RelationshipServiceUpdateRelationshipResponse updateRelationship(ServiceBeanHeader header, RelationshipServiceUpdateRelationship body)
WebServiceUpdateWebResponse updateWeb(ServiceBeanHeader header, WebServiceUpdateWeb body)
OutputParameters validateLogin(SOAHeader header, InputParameters body)
ReceiveDocumentResponse xmlGateway(XMLGatewayHeader header, Object body)
Protected Methods
<T> T initializeServicePort(Class<T> clazz, String username, ClientPasswordHandler handler, String serviceUrl)
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.mule.modules.oracle.client.OracleEBSFinancialServices

Fields

private static final Function<ServiceMessage, String> GET_TEXT_FUNCTION

Function that takes a ServiceMessage and returns a String with its text property.
Used to create the exception message when a web service returns an error.

private final String basePathPlSql

private final Bus bus

private final DqmSearchServicePortType dqmSearchServicePort

private final EmailServicePortType emailServicePort

private final ClientPasswordHandler handler

private final LocationServicePortType locationServicePort

private static final Logger logger

private final String nlsLanguage

private final OrgContactServicePortType orgContactServicePort

private final OrgCustomerServicePortType orgCustomerServicePort

private final String orgId

private final OrganizationServicePortType organizationServicePort

private final PartySiteServicePortType partySiteServicePort

private final PersonCustomerServicePortType personCustomerServicePort

private final PersonServicePortType personServicePort

private final PhoneServicePortType phoneServicePort

private final RelationshipServicePortType relationshipServicePort

private final String responsibilityApplName

private final String responsibilityName

private final FNDWEBSECPortType secServicePort

private final String securityGroupName

private final String username

private final WebServicePortType webServicePort

private final XMLGatewayPortType xmlGatewayPort

Public Constructors

public ServiceCxfClient (Bus bus, String username, String password, String basePath, String basePathPlSql, String responsibilityName, String responsibilityApplName, String securityGroupName, String nlsLanguage, String orgId)

Parameters
bus
username
password
basePath
basePathPlSql
responsibilityName
responsibilityApplName
securityGroupName
nlsLanguage
orgId

Public Methods

public EmailServiceCreateEmailResponse createEmail (ServiceBeanHeader header, EmailServiceCreateEmail body)

Parameters
header
body

public LocationServiceCreateLocationResponse createLocation (ServiceBeanHeader header, LocationServiceCreateLocation body)

Parameters
header
body

public OrgContactServiceCreateOrgContactResponse createOrgContact (ServiceBeanHeader header, OrgContactServiceCreateOrgContact body)

Parameters
header
body

public OrgCustomerServiceCreateOrgCustomerResponse createOrgCustomer (ServiceBeanHeader header, OrgCustomerServiceCreateOrgCustomer body)

Parameters
header
body

public OrganizationServiceCreateOrganizationResponse createOrganization (ServiceBeanHeader header, OrganizationServiceCreateOrganization body)

Parameters
header
body

public PartySiteServiceCreatePartySiteResponse createPartySite (ServiceBeanHeader header, PartySiteServiceCreatePartySite body)

Parameters
header
body

public PersonServiceCreatePersonResponse createPerson (ServiceBeanHeader header, PersonServiceCreatePerson body)

Parameters
header
body

public PhoneServiceCreatePhoneResponse createPhone (ServiceBeanHeader header, PhoneServiceCreatePhone body)

Parameters
header
body

public RelationshipServiceCreateRelationshipResponse createRelationship (ServiceBeanHeader header, RelationshipServiceCreateRelationship body)

Parameters
header
body

public WebServiceCreateWebResponse createWeb (ServiceBeanHeader header, WebServiceCreateWeb body)

Parameters
header
body

public DqmSearchServiceFindPartiesResponse findParties (ServiceBeanHeader header, DqmSearchServiceFindParties body)

Parameters
header
body

public OrgCustomerServiceGetOrgCustsCreatedResponse getCustomersCreated (ServiceBeanHeader header, OrgCustomerServiceGetOrgCustsCreated body)

Parameters
header
body

public OrgCustomerServiceGetOrgCustsUpdatedResponse getCustomersUpdated (ServiceBeanHeader header, OrgCustomerServiceGetOrgCustsUpdated body)

Parameters
header
body

public EmailServiceGetEmailResponse getEmail (ServiceBeanHeader header, EmailServiceGetEmail body)

Parameters
header
body

public LocationServiceGetLocationResponse getLocation (ServiceBeanHeader header, LocationServiceGetLocation body)

Parameters
header
body

public OrgContactServiceGetOrgContactResponse getOrgContact (ServiceBeanHeader header, OrgContactServiceGetOrgContact body)

Parameters
header
body

public OrgCustomerServiceGetOrgCustomerResponse getOrgCustomer (ServiceBeanHeader header, OrgCustomerServiceGetOrgCustomer body)

Parameters
header
body

public OrganizationServiceGetOrganizationResponse getOrganization (ServiceBeanHeader header, OrganizationServiceGetOrganization body)

Parameters
header
body

public OrganizationServiceGetOrganizationsCreatedResponse getOrganizationsCreated (ServiceBeanHeader header, OrganizationServiceGetOrganizationsCreated body)

Parameters
header
body

public OrganizationServiceGetOrganizationsUpdatedResponse getOrganizationsUpdated (ServiceBeanHeader header, OrganizationServiceGetOrganizationsUpdated body)

Parameters
header
body

public PartySiteServiceGetPartySiteResponse getPartySite (ServiceBeanHeader header, PartySiteServiceGetPartySite body)

Parameters
header
body

public PersonServiceGetPersonResponse getPerson (ServiceBeanHeader header, PersonServiceGetPerson body)

Parameters
header
body

public PersonCustomerServiceGetPersonCustsCreatedResponse getPersonCustomersCreated (ServiceBeanHeader header, PersonCustomerServiceGetPersonCustsCreated body)

Parameters
header
body

public PersonCustomerServiceGetPersonCustsUpdatedResponse getPersonCustomersUpdated (ServiceBeanHeader header, PersonCustomerServiceGetPersonCustsUpdated body)

Parameters
header
body

public PersonServiceGetPersonsCreatedResponse getPersonsCreated (ServiceBeanHeader header, PersonServiceGetPersonsCreated body)

Parameters
header
body

public PersonServiceGetPersonsUpdatedResponse getPersonsUpdated (ServiceBeanHeader header, PersonServiceGetPersonsUpdated body)

Parameters
header
body

public PhoneServiceGetPhoneResponse getPhone (ServiceBeanHeader header, PhoneServiceGetPhone body)

Parameters
header
body

public RelationshipServiceGetRelationshipResponse getRelationship (ServiceBeanHeader header, RelationshipServiceGetRelationship body)

Parameters
header
body

public WebServiceGetWebResponse getWeb (ServiceBeanHeader header, WebServiceGetWeb body)

Parameters
header
body

public XMLStreamReader invokePLSQL (String type, XMLStreamReader input)

Parameters
type
input

public EmailServiceSaveEmailResponse saveEmail (ServiceBeanHeader header, EmailServiceSaveEmail body)

Parameters
header
body

public LocationServiceSaveLocationResponse saveLocation (ServiceBeanHeader header, LocationServiceSaveLocation body)

Parameters
header
body

public OrgContactServiceSaveOrgContactResponse saveOrgContact (ServiceBeanHeader header, OrgContactServiceSaveOrgContact body)

Parameters
header
body

public OrgCustomerServiceSaveOrgCustomerResponse saveOrgCustomer (ServiceBeanHeader header, OrgCustomerServiceSaveOrgCustomer body)

Parameters
header
body

public OrganizationServiceSaveOrganizationResponse saveOrganization (ServiceBeanHeader header, OrganizationServiceSaveOrganization body)

Parameters
header
body

public PartySiteServiceSavePartySiteResponse savePartySite (ServiceBeanHeader header, PartySiteServiceSavePartySite body)

Parameters
header
body

public PersonServiceSavePersonResponse savePerson (ServiceBeanHeader header, PersonServiceSavePerson body)

Parameters
header
body

public PhoneServiceSavePhoneResponse savePhone (ServiceBeanHeader header, PhoneServiceSavePhone body)

Parameters
header
body

public RelationshipServiceSaveRelationshipResponse saveRelationship (ServiceBeanHeader header, RelationshipServiceSaveRelationship body)

Parameters
header
body

public WebServiceSaveWebResponse saveWeb (ServiceBeanHeader header, WebServiceSaveWeb body)

Parameters
header
body

public EmailServiceUpdateEmailResponse updateEmail (ServiceBeanHeader header, EmailServiceUpdateEmail body)

Parameters
header
body

public LocationServiceUpdateLocationResponse updateLocation (ServiceBeanHeader header, LocationServiceUpdateLocation body)

Parameters
header
body

public OrgContactServiceUpdateOrgContactResponse updateOrgContact (ServiceBeanHeader header, OrgContactServiceUpdateOrgContact body)

Parameters
header
body

public OrgCustomerServiceUpdateOrgCustomerResponse updateOrgCustomer (ServiceBeanHeader header, OrgCustomerServiceUpdateOrgCustomer body)

Parameters
header
body

public OrganizationServiceUpdateOrganizationResponse updateOrganization (ServiceBeanHeader header, OrganizationServiceUpdateOrganization body)

Parameters
header
body

public PartySiteServiceUpdatePartySiteResponse updatePartySite (ServiceBeanHeader header, PartySiteServiceUpdatePartySite body)

Parameters
header
body

public PersonServiceUpdatePersonResponse updatePerson (ServiceBeanHeader header, PersonServiceUpdatePerson body)

Parameters
header
body

public PhoneServiceUpdatePhoneResponse updatePhone (ServiceBeanHeader header, PhoneServiceUpdatePhone body)

Parameters
header
body

public RelationshipServiceUpdateRelationshipResponse updateRelationship (ServiceBeanHeader header, RelationshipServiceUpdateRelationship body)

Parameters
header
body

public WebServiceUpdateWebResponse updateWeb (ServiceBeanHeader header, WebServiceUpdateWeb body)

Parameters
header
body

public OutputParameters validateLogin (SOAHeader header, InputParameters body)

Parameters
header
body

public ReceiveDocumentResponse xmlGateway (XMLGatewayHeader header, Object body)

Parameters
header
body

Protected Methods

protected T initializeServicePort (Class<T> clazz, String username, ClientPasswordHandler handler, String serviceUrl)

Parameters
clazz
username
handler
serviceUrl