arupacharya
11 years agoOccasional Contributor
Help needed in removing bad codes
Hi,
In one of the Requests of a Web Service the Header looks like this.
<soapenv:Header>
<ns:WFContext>
<messageId>data</messageId>
<creationTimestamp>data</creationTimestamp>
<ns:messageId/><ns:creationTimestamp/><ns:activitySourceId>data</ns:activitySourceId><ns:hostName/>
<hostName>data</hostName>
<originatorId>data</originatorId>
<originatorIdType>data</originatorIdType>
<initiatorId>data</initiatorId>
<initiatorIdType>data</initiatorIdType>
</ns:WFContext>
</soapenv:Header>
If you look at the 3rd line (highlighted in Bold) there are unnecessary nodes popped up like messageid, timestamp & hostname which have been repeated twice.
When I remove them & execute the Request it works fine i.e. proper Response comes out. I save it & close the request. Again if I open the request these nodes are still coming back resulting in failure of the Test Step. Please help me in getting them removed from the test step as executing the step twice doesnt work for me.
I am using SOAPUI Pro 4.5.1
In one of the Requests of a Web Service the Header looks like this.
<soapenv:Header>
<ns:WFContext>
<messageId>data</messageId>
<creationTimestamp>data</creationTimestamp>
<ns:messageId/><ns:creationTimestamp/><ns:activitySourceId>data</ns:activitySourceId><ns:hostName/>
<hostName>data</hostName>
<originatorId>data</originatorId>
<originatorIdType>data</originatorIdType>
<initiatorId>data</initiatorId>
<initiatorIdType>data</initiatorIdType>
</ns:WFContext>
</soapenv:Header>
If you look at the 3rd line (highlighted in Bold) there are unnecessary nodes popped up like messageid, timestamp & hostname which have been repeated twice.
When I remove them & execute the Request it works fine i.e. proper Response comes out. I save it & close the request. Again if I open the request these nodes are still coming back resulting in failure of the Test Step. Please help me in getting them removed from the test step as executing the step twice doesnt work for me.
I am using SOAPUI Pro 4.5.1