Professional Documents
Culture Documents
• Overview
• Details of Logical Business Area(LBA)
• List of Web Service Operations
• Details of Web Service Operations
• List of SDOs related to the Web Service
• Details of the SDOs related to the Web Service
• List of referenced XSD Files
• Details of the referenced XSD files
• Privileges and Roles associated with Web Service
• Web Service Invocation Methods
A service to define and manage additional name and identifier types that can be associated to trading
community members from within the application. For example, a person can be identified using a
passport number or a driver's license number.
Lifecycle: Active
• getNameAndIdType
• createNameAndIdType
• updateNameAndIdType
• deleteNameAndIdType
• mergeNameAndIdType
• findNameAndIdType
• processNameAndIdType
• processCSNameAndIdType
Go to Index
Parameters:
Parameters:
Parameters:
Parameters:
Parameters:
Parameters:
Parameters:
Parameters:
The Web service Trading Community Member Name and Identifier handles the following
Service Data Objects(SDO)
o Trading Community Additional Name and Identifier Type
o Trading Community Additional Name and Identifier Type Translation
Go to Index
An additional name and identifier type that can be associated with a trading community member. For
example, a passport number for a person or a D-U-N-S number for an organization.
SDO Attributes
An additional name or identifier type in a local language. For example, configure local language name in
French or an alias in Japanese.
SDO Attributes
Go to SDO listing
Go to Index
NameAndIdType.xsd
XSD Elements
Name Type
nameAndIdTypeResult NameAndIdTypeResult
nameAndIdType NameAndIdType
Go to XSD listing
NameAndIdTypeService.xsd
XSD Elements
Name Type
createNameAndIdType
createNameAndIdTypeResponse
updateNameAndIdType
updateNameAndIdTypeResponse
mergeNameAndIdType
mergeNameAndIdTypeResponse
findNameAndIdType
findNameAndIdTypeResponse
processNameAndIdType
processNameAndIdTypeResponse
deleteNameAndIdType
deleteNameAndIdTypeResponse
processCSNameAndIdType
processCSNameAndIdTypeResponse
deleteNameAndIdTypeAsync
deleteNameAndIdTypeAsyncResponse
mergeNameAndIdTypeAsync
mergeNameAndIdTypeAsyncResponse
findNameAndIdTypeAsync
findNameAndIdTypeAsyncResponse
processCSNameAndIdTypeAsync
processCSNameAndIdTypeAsyncResponse
processNameAndIdTypeAsync
processNameAndIdTypeAsyncResponse
updateNameAndIdTypeAsync
updateNameAndIdTypeAsyncResponse
createNameAndIdTypeAsync
createNameAndIdTypeAsyncResponse
Go to XSD listing
NameAndIdTypeSetupService.xsd
XSD Elements
Name Type
importData
importDataResponse
exportData
exportDataResponse
exportDataAsync
exportDataAsyncResponse
importDataAsync
importDataAsyncResponse
Go to XSD listing
NameAndIdTypeTranslation.xsd
XSD Elements
Name Type
nameAndIdTypeTranslation NameAndIdTypeTranslation
Go to XSD listing
Go to Index
Privileges
HZ_MANAGE_TRADING_COMMUNITY_MEMBER_NAME_AND_IDENTIFIER_SETUP_FOR
_IDENTIFIER_PRIV
Privilege Name:
HZ_MANAGE_TRADING_COMMUNITY_MEMBER_NAME_AND_IDENTIFIER_SETUP_FOR_IDENTIFI
ER_PRIV
Display Name: Manage Trading Community Member Name and Identifier Setup for Identifier
Description: Allows the specification of additional identifier types for organizations and persons in your
business community, such as passport number and social security number.
Accesses: deleteNameAndIdTypeAsync, mergeNameAndIdType, getNameAndIdType,
processNameAndIdType, findNameAndIdType, getNameAndIdTypeAsync,
processNameAndIdTypeAsync, processCSNameAndIdTypeAsync, updateNameAndIdType,
deleteNameAndIdType, mergeNameAndIdTypeAsync, processCSNameAndIdType,
createNameAndIdType, findNameAndIdTypeAsync, createNameAndIdTypeAsync,
updateNameAndIdTypeAsync
The Privilege
HZ_MANAGE_TRADING_COMMUNITY_MEMBER_NAME_AND_IDENTIFIER_SETUP_FOR_IDENTIFI
ER_PRIV is granted to the following duty roles.
HZ_MANAGE_TRADING_COMMUNITY_MEMBER_NAME_AND_IDENTIFIER_SETUP_FOR
_NAME_PRIV
Privilege Name:
HZ_MANAGE_TRADING_COMMUNITY_MEMBER_NAME_AND_IDENTIFIER_SETUP_FOR_NAME_P
RIV
Display Name: Manage Trading Community Member Name and Identifier Setup for Name
Description: Allows the specification of additional name types for organizations and persons in your
business community, such as Doing Business As Name and Legal Name.
Accesses: deleteNameAndIdTypeAsync, mergeNameAndIdType, getNameAndIdType,
processNameAndIdType, findNameAndIdType, getNameAndIdTypeAsync,
processNameAndIdTypeAsync, processCSNameAndIdTypeAsync, updateNameAndIdType,
deleteNameAndIdType, mergeNameAndIdTypeAsync, processCSNameAndIdType,
createNameAndIdType, findNameAndIdTypeAsync, createNameAndIdTypeAsync,
updateNameAndIdTypeAsync
The Privilege
HZ_MANAGE_TRADING_COMMUNITY_MEMBER_NAME_AND_IDENTIFIER_SETUP_FOR_NAME_P
RIV is granted to the following duty roles.
Go to Index
This section contains three different ways to invoke NameAndIdTypeService. The following are the ways
to do the same:
Go to Index
Steps:
1. Create a new generic Project and specify the Project Name and Directory.
4. Click Next.
7. Click Next.
8. Click Next.
NameAndIdTypeServiceSoapHttpPortClient.java
import com.sun.xml.ws.api.addressing.AddressingVersion;
import com.sun.xml.ws.api.addressing.WSEndpointReference;
import com.sun.xml.ws.developer.WSBindingProvider;
import com.sun.xml.ws.message.StringHeader;
import java.util.UUID;
import javax.xml.ws.WebServiceRef;
import weblogic.wsee.jws.jaxws.owsm.SecurityPolicyFeature;
NameAndIdTypeService nameAndIdTypeService=
nameAndIdTypeService_Service.getNameAndIdTypeServiceSoapHttpPort(securityFeatur
e);
wsbp.setOutboundHeaders(new
StringHeader(WS_ADDR_VER.messageIDTag,uuid),replyTo.createHeader(WS_ADDR_VER.replyToTag));
wsbp.getRequestContext().put(WSBindingProvider.USERNAME_PROPERTY,
"<your username>");
wsbp.getRequestContext().put(WSBindingProvider.PASSWORD_PROPERTY,
"<Your Password>");
wsbp.getRequestContext().put(ClientConstants.WSSEC_RECIPIENT_KEY_ALIAS,"service");
// Provide the location of your keystore(.jks file)
wsbp.getRequestContext().put(ClientConstants.WSSEC_KEYSTORE_LOCATION, <location of keystore file>);
wsbp.getRequestContext().put(ClientConstants.WSSEC_KEYSTORE_PASSWORD, "password" );
wsbp.getRequestContext().put(ClientConstants.WSSEC_KEYSTORE_TYPE, "JKS" );
wsbp.getRequestContext().put(ClientConstants.WSSEC_SIG_KEY_ALIAS, "client" );
wsbp.getRequestContext().put(ClientConstants.WSSEC_SIG_KEY_PASSWORD, "password" );
wsbp.getRequestContext().put(ClientConstants.WSSEC_ENC_KEY_ALIAS, "client" );
wsbp.getRequestContext().put(ClientConstants.WSSEC_ENC_KEY_PASSWORD, "password" );
NameAndIdTypeResult variableName =
nameAndIdTypeService.createNameAndIdType(<Enter your NameAndIdType param>);
//Add your custom code to call the desired method with the required input parameters.
NameAndIdTypeResult variableName =
nameAndIdTypeService.updateNameAndIdType(<Enter your NameAndIdType param>);
//Add your custom code to call the desired method with the required input parameters.
MethodResult variableName =
nameAndIdTypeService.deleteNameAndIdType(<Enter your NameAndIdType param>);
NameAndIdTypeResult variableName =
nameAndIdTypeService.mergeNameAndIdType(<Enter your NameAndIdType param>);
//Add your custom code to call the desired method with the required input parameters.
NameAndIdTypeResult variableName =
nameAndIdTypeService.findNameAndIdType(<Enter your FindCriteria param>, <Enter your FindControl param>);
//Add your custom code to call the desired method with the required input parameters.
NameAndIdTypeResult variableName =
nameAndIdTypeService.processNameAndIdType(<Enter your String param>, <Enter your List<NameAndIdType>
param>, <Enter your ProcessControl param>);
//Add your custom code to call the desired method with the required input parameters.
ProcessData variableName =
nameAndIdTypeService.processCSNameAndIdType(<Enter your ProcessData param>, <Enter your
ProcessControl param>);
//Add your custom code to call the desired method with the required input parameters.
NameAndIdTypeResult variableName =
nameAndIdTypeService.mergeNameAndIdTypeAsync(<Enter your NameAndIdType param>);
//Add your custom code to call the desired method with the required input parameters.
NameAndIdTypeResult variableName =
nameAndIdTypeService.findNameAndIdTypeAsync(<Enter your FindCriteria param>, <Enter your FindControl
param>);
//Add your custom code to call the desired method with the required input parameters.
NameAndIdTypeResult variableName =
nameAndIdTypeService.createNameAndIdTypeAsync(<Enter your NameAndIdType param>);
//Add your custom code to call the desired method with the required input parameters.
MethodResult variableName =
nameAndIdTypeService.deleteNameAndIdTypeAsync(<Enter your NameAndIdType param>);
//Add your custom code to call the desired method with the required input parameters.
ProcessData variableName =
nameAndIdTypeService.processCSNameAndIdTypeAsync(<Enter your ProcessData param>, <Enter your
ProcessControl param>);
//Add your custom code to call the desired method with the required input parameters.
NameAndIdTypeResult variableName =
nameAndIdTypeService.processNameAndIdTypeAsync(<Enter your String param>, <Enter your
List<NameAndIdType> param>, <Enter your ProcessControl param>);
//Add your custom code to call the desired method with the required input parameters.
NameAndIdTypeResult variableName =
nameAndIdTypeService.updateNameAndIdTypeAsync(<Enter your NameAndIdType param>);
//Add your custom code to call the desired method with the required input parameters.
NameAndIdType variableName =
nameAndIdTypeService.getNameAndIdType(<Enter your String param>);
NameAndIdType variableName =
nameAndIdTypeService.getNameAndIdTypeAsync(<Enter your String param>);
//Add your custom code to call the desired method with the required input parameters.
}
}
Go to Top
Steps:
3. Enter the WebService name as " NameAndIdTypeService " and the URL of the WSDL you want to
invoke as
http://<HostName>:<PortNumber>/foundationPartiesSetup/NameAndIdTypeService?WSDL
4. Drop the BPEL process from the Component Palette and name the BPEL process say
WebServiceInvocationProcess.
6. Double click on BPEL to open WebServiceInvocationProcess.bpel file. Initially the .bpel file will look like
this.
9. Select the operation you want to perform . In this case the name of the method will be
" createNameAndIdType ".
10. In variables click plus icon for both input and output and press ok. This will create two variables to
invoke the webservice.
13. Similarly drop an assign activity after InvokeWebService and assign the appropriate element of
InvokeWebService_createNameAndIdType_OutputVariable to the result element of output variable.
14. Now Right click on the composite and go to deploy and deploy it on a server.
Go to Top
Steps:
JDEV users can find the given file by following the below steps.
<Reference
name="{http://xmlns.oracle.com/apps/cdm/foundation/parties/nameAndIdTypeService/applicationModule/}NameAndIdTyp
eService" className="oracle.jbo.client.svc.Service" xmlns="">
<Factory className="oracle.jbo.client.svc.ServiceFactory"/>
<RefAddresses>
<StringRefAddr addrType="serviceInterfaceName">
<Contents>oracle.apps.cdm.foundation.parties.nameAndIdTypeService.NameAndIdTypeService</Contents>
</StringRefAddr>
<StringRefAddr addrType="serviceEndpointProvider">
<Contents>SOAP</Contents>
</StringRefAddr>
<StringRefAddr addrType="webServiceConnectionName">
<Contents>NameAndIdTypeServiceConnection</Contents>
</StringRefAddr>
<StringRefAddr addrType="serviceSchemaName">
<Contents>NameAndIdTypeService.xsd</Contents>
</StringRefAddr>
<StringRefAddr addrType="serviceSchemaLocation">
<Contents>oracle/apps/cdm/foundation/parties/nameAndIdTypeService/</Contents>
</StringRefAddr>
</RefAddresses>
</Reference>
<Reference name="NameAndIdTypeServiceConnection"
className="oracle.adf.model.connection.webservice.impl.WebServiceConnectionImpl"
credentialStoreKey="NameAndIdTypeServiceConnection" xmlns="">
<Factory className="oracle.adf.model.connection.webservice.api.WebServiceConnectionFactory"/>
<RefAddresses>
<XmlRefAddr addrType="WebServiceConnection">
<Contents>
<wsconnection
description="http://<HostName>:<PortNumber>/foundationPartiesSetup/NameAndIdTypeService?WSDL"
service="{http://xmlns.oracle.com/apps/cdm/foundation/parties/nameAndIdTypeService/applicationModule/}NameAndIdTy
peService">
<model
name{http://xmlns.oracle.com/apps/cdm/foundation/parties/nameAndIdTypeService/applicationModule/}NameAndIdType
Service" xmlns="http://oracle.com/ws/model">
<service
name{http://xmlns.oracle.com/apps/cdm/foundation/parties/nameAndIdTypeService/applicationModule/}NameAndIdType
Service">
<port name="NameAndIdTypeServiceSoapHttpPort"
binding="{http://xmlns.oracle.com/apps/cdm/foundation/parties/nameAndIdTypeService/applicationModule/}NameAndIdTy
peServiceSoapHttpPort">
<policy-references xmlns="http://oracle.com/adf">
<policy-reference category="security" uri="oracle/wss_username_token_client_policy" enabled="true"
id="oracle oracle/wss_username_token_client_policy" xmlns=""/>
</policy-references>
<soap username="transportUserName" password="transportPassword"
addressUrl="http://<HostName>:<PortNumber>/foundationPartiesSetup/NameAndIdTypeService"
xmlns="http://schemas.xmlsoap.org/wsdl/soap/"/>
</port>
Now you have an entry corresponding to the webservice you want to invoke.
2. For j2se client (ServiceFactory is executed from a standalone j2se client), we need to make
sure that the following five jar files are added in "classpath & libraries" of your project:
? library "Java EE 1.5"
? library "Oracle XML parser v2"
? library "JAX-WS client"
? library "BC4J Service Client"
? your service's common jar file
4. Create a java class and name it as say InvokeWebService and add the following code in the
main method.
InvokeWebService.java
import oracle.jbo.client.svc.ServiceFactory;
NameAndIdTypeService nameAndIdTypeService =
(NameAndIdTypeService)ServiceFactory.getServiceProxy("{http://xmlns.oracle.com/apps/cdm/foundation/parties/nameAndIdTypeS
ervice/applicationModule/}NameAndIdTypeService");
NameAndIdTypeResult variableName =
nameAndIdTypeService.createNameAndIdType(<Enter your NameAndIdType param>);
//Add your custom code to call the desired method with the required input parameters.
//Add your custom code to call the desired method with the required input parameters.
MethodResult variableName =
nameAndIdTypeService.deleteNameAndIdType(<Enter your NameAndIdType param>);
//Add your custom code to call the desired method with the required input parameters.
NameAndIdTypeResult variableName =
nameAndIdTypeService.mergeNameAndIdType(<Enter your NameAndIdType param>);
//Add your custom code to call the desired method with the required input parameters.
NameAndIdTypeResult variableName =
nameAndIdTypeService.findNameAndIdType(<Enter your FindCriteria param>, <Enter your FindControl param>);
//Add your custom code to call the desired method with the required input parameters.
NameAndIdTypeResult variableName =
nameAndIdTypeService.processNameAndIdType(<Enter your String param>, <Enter your List<NameAndIdType> param>,
<Enter your ProcessControl param>);
//Add your custom code to call the desired method with the required input parameters.
ProcessData variableName =
nameAndIdTypeService.processCSNameAndIdType(<Enter your ProcessData param>, <Enter your ProcessControl
param>);
//Add your custom code to call the desired method with the required input parameters.
NameAndIdTypeResult variableName =
nameAndIdTypeService.mergeNameAndIdTypeAsync(<Enter your NameAndIdType param>);
//Add your custom code to call the desired method with the required input parameters.
NameAndIdTypeResult variableName =
nameAndIdTypeService.findNameAndIdTypeAsync(<Enter your FindCriteria param>, <Enter your FindControl param>);
//Add your custom code to call the desired method with the required input parameters.
NameAndIdTypeResult variableName =
nameAndIdTypeService.createNameAndIdTypeAsync(<Enter your NameAndIdType param>);
//Add your custom code to call the desired method with the required input parameters.
MethodResult variableName =
nameAndIdTypeService.deleteNameAndIdTypeAsync(<Enter your NameAndIdType param>);
//Add your custom code to call the desired method with the required input parameters.
ProcessData variableName =
nameAndIdTypeService.processCSNameAndIdTypeAsync(<Enter your ProcessData param>, <Enter your ProcessControl
//Add your custom code to call the desired method with the required input parameters.
NameAndIdTypeResult variableName =
nameAndIdTypeService.processNameAndIdTypeAsync(<Enter your String param>, <Enter your List<NameAndIdType>
param>, <Enter your ProcessControl param>);
//Add your custom code to call the desired method with the required input parameters.
NameAndIdTypeResult variableName =
nameAndIdTypeService.updateNameAndIdTypeAsync(<Enter your NameAndIdType param>);
//Add your custom code to call the desired method with the required input parameters.
NameAndIdType variableName =
nameAndIdTypeService.getNameAndIdType(<Enter your String param>);
//Add your custom code to call the desired method with the required input parameters.
NameAndIdType variableName =
nameAndIdTypeService.getNameAndIdTypeAsync(<Enter your String param>);
//Add your custom code to call the desired method with the required input parameters.
}
}
Go to Top
Go to Index