Skip Headers
Oracle® Retail Integration Bus Service-Oriented Architecture Enabler Tool Guide
Release 14.0
E49440-01
  Go To Table Of Contents
Contents

Previous
Previous
 
Next
Next
 

B Appendix: Sample ServiceProviderDefLibrary.xml

The sample below can be used as an initial template.

ServiceProviderDefLibrary.xml

<serviceProviderDefLibrary appName="rms"
xmlns="http://www.oracle.com/retail/integration/services/serviceProviderDefLibrary/v1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<service name="Supplier"><!-- Noun, don't put suffix Service -->
<documentation />
<operation name="create"><!-- Verb -->
<documentation>Create a new SupplierDesc.</documentation>
<input type="SupplierDesc"><!-- Existing BO -->
<documentation>
Input SupplierDesc to create.
</documentation>
</input>
<output type="SupplierRef">
<documentation>
Return the SupplierRef for the newly created
SupplierDesc.
</documentation>
</output>
<fault faultType="IllegalArgumentWSFaultException">
<documentation>
Throw this exception when it is "soap:Client" side
message problem.
</documentation>
</fault>
<fault faultType="EntityAlreadyExistsWSFaultException">
<documentation>
Throw this exception when the object already exist.
</documentation>
</fault>
<fault faultType="IllegalStateWSFaultException">
<documentation>
Throw this exception when there is unknown
"soap:Server" side problem.
</documentation>
</fault>
</operation>
<operation name="createSupSiteUsing"><!-- Verb -->
<documentation>Create a new SupplierSite.</documentation>
<input type="SupplierDesc"><!-- Existing BO  -->
<documentation>
Input SupplierDesc to create.
</documentation>
</input>
<output type="SupplierRef">
<documentation>
Return the SupplierRef for the newly created
SupplierDesc.
</documentation>
</output>
<fault faultType="IllegalArgumentWSFaultException">
<documentation>
Throw this exception when it is "soap:Client" side
message problem.
</documentation>
</fault>
<fault faultType="EntityAlreadyExistsWSFaultException">
<documentation>
Throw this exception when the object already exist.
</documentation>
</fault>
<fault faultType="IllegalStateWSFaultException">
<documentation>
Throw this exception when there is unknown
"soap:Server" side problem.
</documentation>
</fault>
</operation>
<operation name="createSupSiteAddrUsing"><!-- Verb -->
<documentation>Create a new SupplierSite.</documentation>
<input type="SupplierDesc"><!-- Existing BO -->
<documentation>
Input SupplierDesc to create.
</documentation>
</input>
<output type="SupplierRef">
<documentation>
Return the SupplierRef for the newly created
SupplierDesc.
</documentation>
</output>
<fault faultType="IllegalArgumentWSFaultException">
<documentation>
Throw this exception when it is "soap:Client" side 
message problem.
</documentation>
</fault>
<fault faultType="EntityAlreadyExistsWSFaultException">
<documentation>
Throw this exception when the object already exist.
</documentation>
</fault>
<fault faultType="IllegalStateWSFaultException">
<documentation>
Throw this exception when there is unknown
"soap:Server" side problem.
</documentation>
</fault>
</operation>
<operation name="update">
<input type="SupplierDesc" />
<output type="SupplierDesc" />
<fault faultType="IllegalArgumentWSFaultException" />
<fault faultType="EntityNotFoundWSFaultException" />
<fault faultType="IllegalStateWSFaultException" />
</operation>
<operation name="updateSupSiteUsing">
<input type="SupplierDesc" />
<output type="SupplierDesc" />
<fault faultType="IllegalArgumentWSFaultException" />
<fault faultType="EntityNotFoundWSFaultException" />
<fault faultType="IllegalStateWSFaultException" />
</operation>
<operation name="updateSupSiteOrgUnitUsing">
<input type="SupplierDesc" />
<output type="SupplierDesc" />
<fault faultType="IllegalArgumentWSFaultException" />
<fault faultType="EntityNotFoundWSFaultException" />
<fault faultType="IllegalStateWSFaultException" />
</operation>
<operation name="updateSupSiteAddrUsing">
<input type="SupplierDesc" />
<output type="SupplierDesc" />
<fault faultType="IllegalArgumentWSFaultException" />
<fault faultType="EntityNotFoundWSFaultException" />
<fault faultType="IllegalStateWSFaultException" />
</operation>
<operation name="find" suffix="outputType">
<input type="SupplierRef" />
<output type="SupplierDesc" />
<fault faultType="IllegalArgumentWSFaultException" />
<fault faultType="EntityNotFoundWSFaultException" />
<fault faultType="IllegalStateWSFaultException" />
</operation>
<operation name="delete">
<input type="SupplierRef" />
<output type="SupplierRef" />
<fault faultType="IllegalArgumentWSFaultException" />
<fault faultType="EntityNotFoundWSFaultException" />
<fault faultType="IllegalStateWSFaultException" />
</operation>
<operation name="create">
<input type="SupplierCollectionDesc" />
<output type="SupplierCollectionRef" />
<fault faultType="IllegalArgumentWSFaultException" />
<fault faultType="EntityAlreadyExistsWSFaultException" />
<fault faultType="IllegalStateWSFaultException" />
</operation>
<operation name="update">
<input type="SupplierCollectionDesc" />
<output type="SupplierCollectionDesc" />
<fault faultType="IllegalArgumentWSFaultException" />
<fault faultType="EntityNotFoundWSFaultException" />
<fault faultType="IllegalStateWSFaultException" />
</operation>
<operation name="find" suffix="outputType">
<input type="SupplierCollectionRef" />
<output type="SupplierCollectionDesc" />
<fault faultType="IllegalArgumentWSFaultException" />
<fault faultType="EntityNotFoundWSFaultException" />
<fault faultType="IllegalStateWSFaultException" />
</operation>
<operation name="delete">
<input type="SupplierCollectionRef" />
<output type="SupplierCollectionRef" />
<fault faultType="IllegalArgumentWSFaultException" />
<fault faultType="EntityNotFoundWSFaultException" />
<fault faultType="IllegalStateWSFaultException" />
</operation>
</service>
</serviceProviderDefLibrary>