Skip to Content
0
Former Member
Jul 28, 2008 at 05:32 PM

XSLT Mapping ?

95 Views

Hi Guys,

I need to do a HTTP post and the xml has multipart. I thought of using the soap adapter with the followign options as true

1. Do not use soap envelope

2. keep attachments

I want to know which part of the payload i need to message mapping and which part i need to append with the xslt mapping.

any help with the xslt mapping or any other ideas of the acheiving this would be really appreciated.

The xml which i need to post is as below

<AccessRequest xml:lang='en-US'>

<AccessLicenseNumber>YOURACCESSLICENSENUMBER</AccessLicenseNumber>

<UserId>YOURUSERID</UserId>

<Password>YOURPASSWORD</Password></AccessRequest>

<?xml version="1.0" ?>

<AddressValidationRequest xml:lang='en-US'>

<Request>

<TransactionReference>

<CustomerContext /><XpciVersion>1.0001</XpciVersion>

</TransactionReference>

<RequestAction>XAV</RequestAction>

<RequestOption>3</RequestOption>

</Request>

<MaximumListSize>3</MaximumListSize>

<AddressKeyFormat>

<ConsigneeName>UPS Capital</ConsigneeName>

<BuildingName>Business Credit</BuildingName>

<AddressLine>425 Day Hill Road</AddressLine>

<AddressLine>P.O. Box 400</AddressLine>

<AddressLine>Main Office</AddressLine>

<PoliticalDivision2>Windsor</PoliticalDivision2>

<PoliticalDivision1>CT</PoliticalDivision1>

<PostcodePrimaryLow>06095</PostcodePrimaryLow>

<CountryCode>US</CountryCode>

</AddressKeyFormat>

</AddressValidationRequest

Thanks,

Srini