With SoapUI it's possible to send Soap XML message to a WCF service. I've the following SOAP message:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:my="http://myserviceprovider"> <soap:Header/> <soap:Body> <my:ProcessOrder> <my:Orders> <my:Order> <my:id>randomid_1234567890</my:id> <my:data>ABC</my:data> </my:Order> </my:Orders> </my:ProcessOrder> </soap:Body> </soap:Envelope>
Because the WCF service expects a unique ID for my:id, I would like to know if SoapUI provides functionality to automatically generate a random GUID?
HTTP ResponseClick the 'RAW' Tab in SOAP-UI Response Window to understand how the response is sent via HTTP. After processing the request, the http response code (200) is shown which means it is a success. The web-server has processed it successfully.
A SOAP message is encoded as an XML document, consisting of an <Envelope> element, which contains an optional <Header> element, and a mandatory <Body> element. The <Fault> element, contained in <Body> , is used for reporting errors.
This will generate a globally unique id:
${=java.util.UUID.randomUUID()}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With