Forum Stats

  • 3,769,805 Users
  • 2,253,023 Discussions
  • 7,875,211 Comments

Discussions

Namespaces in response

RakeshKr
RakeshKr Member Posts: 401 Silver Badge

I have a weird problem. Same BPEL composite (same code) running in 2 different environments giving 2 slightly different responses.

XML wise both are correct. I am just trying to find out what will cause this?

First environment:

<env:Body>    <IBMICMSchedulerResponse xmlns="http://abc.com/IBMICMScheduler">    <ItemID>111</ItemID>    <CompletedActivities/>    <LiveActivities/>    <ResponseStatus>FAIL</ResponseStatus>    </IBMICMSchedulerResponse>    </env:Body>

Second Environment:

<env:Body>    <IBMICMSchedulerResponse xmlns="http://abc.com/IBMICMScheduler">    <ItemID xmlns="http://abc.com/IBMICMScheduler">111</ItemID>    <CompletedActivities xmlns="http://abc.com/IBMICMScheduler"/>    <LiveActivities xmlns="http://abc.com/IBMICMScheduler"/>    <ResponseStatus xmlns="http://abc.com/IBMICMScheduler">FAIL</ResponseStatus>    </IBMICMSchedulerResponse>    </env:Body>

Notice the namespaces in each element in second xml.

Anyone any idea what environment specific setting can cause this?

Answers

  • Ankit kalanoria
    Ankit kalanoria Member Posts: 107
    edited Apr 12, 2018 3:02AM

    Hi Rakesh,

    This is very interesting. I don't have answer but want to explore more on this. May i know if both environment versions are same and which version? and also if you are using transform or assign activity for response XML creation? I will be researching more in the direction if it has anything to do with default parsing method DOM vs SAX while generating XML using assign activity. Something around this direction may be but its total guess as of now.

    Regards,

    Ankit K

  • RakeshKr
    RakeshKr Member Posts: 401 Silver Badge
    edited Apr 12, 2018 11:46AM

    Yes environments are exactly the same 12.2.1. Code same.

    I am using assign activity.

    I know I can use transform activity but curious about the difference.

This discussion has been closed.