Forum Discussion
UPC_Broadband_L
13 years agoOccasional Contributor
Hi,
Well, the situation is a bit different. The REST service seems to show the following differences:
- The "data" item you see in the "XML" tab (see screenshot) isn't necessarily part of the main response xml. You can see that on the "Raw" tab screenshot for example (only Main onwards shows up after the header, not data).
- Opening the REST query on a regular browser window never shows "data" (just regular, perfectly formatted XML starting on Main).
Ergo, the CDATA tag shown on the "XML" tab is before Main. The soapUI event does not "find it" in the response from Main onwards, but it is still there.
Which is why I stated the "replaceAll" example, I can replace anything after the Main item, but not before.
The Event replacement definitely does not work in this situation. As you could see on the screenshots / previous posts, I *did* use the code exactly as is in the main Project file.
If necessary, I can send you the project file.
Well, the situation is a bit different. The REST service seems to show the following differences:
- The "data" item you see in the "XML" tab (see screenshot) isn't necessarily part of the main response xml. You can see that on the "Raw" tab screenshot for example (only Main onwards shows up after the header, not data).
- Opening the REST query on a regular browser window never shows "data" (just regular, perfectly formatted XML starting on Main).
Ergo, the CDATA tag shown on the "XML" tab is before Main. The soapUI event does not "find it" in the response from Main onwards, but it is still there.
Which is why I stated the "replaceAll" example, I can replace anything after the Main item, but not before.
The Event replacement definitely does not work in this situation. As you could see on the screenshots / previous posts, I *did* use the code exactly as is in the main Project file.
If necessary, I can send you the project file.