Florin_Neamtu
16 years agoOccasional Contributor
SOAP headers specified by policies in WSDL
Hi SOAPUI team!
I learnt from this forum that SOAPUI doesn't automatically generate SOAP headers from the policies in WSDL. The problem can be solved easily by creating these headers manually. However, when I update the schema (though non-breaking changes) and choose to update the affected operations too (with keep existing data option on), these manually added headers DISSAPEAR! The existing values in the message are preserved, as expected, but the headers are not preserved. It happens to custom headers and it happens to "known" headers like WS-Security UsernameToken header added by SOAPUI (right-click on the message pane, etc).
What are the current plans for automatically generating SOAP Headers/Content specified by policies in the WSDL?
In the meantime, what can I do to have the headers preserved when I update the schema?
Thanks,
Florin Neamtu
I learnt from this forum that SOAPUI doesn't automatically generate SOAP headers from the policies in WSDL. The problem can be solved easily by creating these headers manually. However, when I update the schema (though non-breaking changes) and choose to update the affected operations too (with keep existing data option on), these manually added headers DISSAPEAR! The existing values in the message are preserved, as expected, but the headers are not preserved. It happens to custom headers and it happens to "known" headers like WS-Security UsernameToken header added by SOAPUI (right-click on the message pane, etc).
What are the current plans for automatically generating SOAP Headers/Content specified by policies in the WSDL?
In the meantime, what can I do to have the headers preserved when I update the schema?
Thanks,
Florin Neamtu