AnsweredAssumed Answered

Not able to filter both payload and header details when multiple copybooks are added in payload-mapping file

Question asked by narasimharao.x.lingam on Oct 3, 2017
Latest reply on Oct 5, 2017 by Joel NeSmith

Hi Joel/Monalisa, J_NeSmith, Monalisa.Nayak

 

I am creating a VS where I am using Copybook data protocol and request contains Header and Payload. So I have added both Copybooks in Payload-Mapping files as follows

1)

Under RequestPayload I have added two sections as follows.

   <Section name="body">

<copybook order="1"> PayloadCopybook name</copybook>

</Section>

 

<Section name="body">

<copybook order="2> Header Copybook name</copybook>

</Section>

 

Outcome:

VS is not able to convert the request and showing as "unknown-payload"

 

2)

Under RequestPayload I have added both copybooks under same sections as follows.

   <Section name="body">

<copybook order="1"> PayloadCopybook name</copybook>

<copybook order="2> Header Copybook name</copybook>

</Section>

Outcome:

VS is able to recognize/convert the request which is available in first <Section>

 

Kindly suggest me.

 

Thanks,

Narasimha.

Outcomes