Table of Contents

Search

  1. Preface
  2. PowerCenter Mappings and Workflows
  3. B2B Data Exchange Transformations
  4. B2B Data Exchange Workflows
  5. Dashboard and Reports
  6. Creating Workflows for Event Reconciliation
  7. Forms Designer
  8. Configuring Email for Monitor Notification
  9. Dashboard and Reports
  10. B2B Data Exchange Web Services API
  11. B2B Data Exchange Run-time Java API
  12. B2B Data Exchange Forms Designer Java API

DX_TPM_Partner Create Operation

DX_TPM_Partner Create Operation

The DX_TPM_Partner
create
operation creates a partner and an associated account.

Guidelines

Use the following guidelines when you create a partner:
  • The request must use the
    create
    operation.

Response

The web service returns a DXPartnerResponse object that includes the partner information in a DXPartner object.
The web service returns a fault response in the following situations:
  • The DXPartner object has an element with an invalid value.
  • The DXAccount object has an element with an invalid value.
  • A partner in the Data Exchange repository has the same partner name specified in the DXPartner object.
  • The name is already reserved for a dedicated system partner.
Create SOAP Message Example
The following SOAP message shows an example of a request to the DX_TPM_Partner web service to create a partner:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:inf="http://www.informatica.com/" xmlns:sec="http://b2b.informatica.com/dx/security" xmlns:tpm="http://b2b.informatica.com/dx/tpm/"> <soapenv:Header> <inf:Security> <UsernameToken> <Username>Administrator</Username> <Password>Administrator</Password> </UsernameToken> </inf:Security> <sec:DXSecurity> <sec:DXUsernameToken> <sec:DXUsername>sys</sec:DXUsername> <sec:DXPassword DXPasswordType="PasswordText">sys</sec:DXPassword> <!--<sec:Nonce>?</sec:Nonce>--> <!--<sec:Created>?</sec:Created>--> </sec:DXUsernameToken> </sec:DXSecurity> </soapenv:Header> <soapenv:Body> <tpm:DXPartnerRequest> <operation>create</operation> <partner> <Name>PartnerTestName</Name> <Description>PartnerTest Description</Description> <!--Zero or more repetitions:--> <CategoryName>CategoryTest1</CategoryName> <CategoryName>CategoryTest2</CategoryName> <!--Zero or more repetitions:--> <ContactInformation> <Name>PartnerTestContact1</Name> <Description>PartnerTestContact1 Description</Description> <Title>PartnerTestContact1 Title</Title> <Address>PartnerTestContact1 Address</Address> <PhoneNumber>+12345678912</PhoneNumber> <BusinessPhoneNumber>+12345678913</BusinessPhoneNumber> <FaxNumber>+12345678914</FaxNumber> <EmailAddress>PartnerTestName1@informatica.com</EmailAddress> </ContactInformation> <ContactInformation> <Name>PartnerTestContact2</Name> <Description>PartnerTestContact2 Description</Description> <Title>PartnerTestContact2 Title</Title> <Address>PartnerTestContact2 Address</Address> <PhoneNumber>+12345678922</PhoneNumber> <BusinessPhoneNumber>+12345678923</BusinessPhoneNumber> <FaxNumber>+12345678924</FaxNumber> <EmailAddress>PartnerTestName2@informatica.com</EmailAddress> </ContactInformation> <!--Zero or more repetitions:--> <PartnerAttribute> <Name>PartnerAttribute1</Name> <Value>PartnerAttribute1Value</Value> </PartnerAttribute> <PartnerAttribute> <Name>PartnerAttribute2</Name> <Value>PartnerAttribute2Value</Value> </PartnerAttribute> </partner> <account> <Name>AccountTest1</Name> <Number>123</Number> <Description>AccountTest1 Description</Description> <!--Zero or more repetitions:--> <CategoryName>CategoryTest3</CategoryName> <CategoryName>CategoryTest4</CategoryName> <!--Zero or more repetitions:--> <AccountAttribute> <Name>AccountAttribute1</Name> <Value>AccountAttribute2</Value> </AccountAttribute> <PartnerName>PartnerTestName</PartnerName> </account> </tpm:DXPartnerRequest> </soapenv:Body> </soapenv:Envelope>

0 COMMENTS

We’d like to hear from you!