Question

1
Replies
230
Views
KiranRadhaManojT Member since 2014 8 posts
American Express
Posted: April 10, 2019
Last activity: May 30, 2019
Closed

How to change name space prefix from < ns1 > to < upd >

Hi Team,

we are performing connect-soap integration.

Currently I am sending XML to the target system as below.

<?xml version="1.0" encoding="UTF-8" ?>

<ns1:Request>
<ns1:IdentityBlock>
<ns1:ID1>?</ns1:ID1>
<ns1:ID2>?</ns1:ID2>
<ns1:ID3>?</ns1:ID3>
<ns1:ID4>?</ns1:ID4>
</ns1:IdentityBlock>
</ns1:Request>

What I need is to send xml to the target system as

<?xml version="1.0" encoding="UTF-8" ?>

<upd:Request>
<upd:IdentityBlock>
<upd:ID1>?</upd:ID1>
<upd:ID2>?</upd:ID2>
<upd:ID3>?</upd:ID3>
<upd:ID4>?</upd:ID4>
</upd:IdentityBlock>
</upd:Request>

All we need to do is change the namespace prefix from ns1 to upd. We have WSDL and XSD. How to achieve this in Pega. When we import WSDL XML stream is generating with prefix : ns1; when I import through SOAP UI sample request is generating with prefix : upd.

Regards,

Kiran Radha Manoj Turaga.

***Edited by Moderator: Pallavi to update platform capability tags***

Pega Platform Low-Code App Development Dev/Designer Studio Data Integration
Moderation Team has archived post
Share this page LinkedIn