Forum Discussion

dseel's avatar
dseel
Contributor
15 years ago

POST request content disappearing

Hi:

I'm using SOAPUI Pro 3.5.1. I have created several REST service interfaces, including some POST requests. I added these POST requests into test cases and added some POST content. But when I close the request window and then reopen it, my request content is gone and replaced with just a soap envelope! I have used REST POST requests many times - I don't know why these particular requests are an issue. See attached test project. Try adding request content to the attached project (drill down in the REST interface to startSmsNotification -> Request 1)

I tried adding:
<test>ha</test>

But after closing and opening, I just get this:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"/>

Let me know if there is a fix for this.
Thanks,
Dave
  • Hi:

    I downloaded and tried the latest 3.6 beta2 build and the problem is still there.

    Thanks,
    Dave
  • Hi Dave,

    ok.. this is because the default Form editor ensures that the content of the request is in line with the associated schema. You can change the default to "Source" in the global soapUI Pro settings tab, which will not automatically activate the editor and keep the "incorrect" xml.

    Does that help?

    regards!

    /Ole
    eviware.com