Forum Discussion

naislav's avatar
naislav
New Contributor
12 years ago

mustUnderstand dropdown do not change the value selected

Hello!

We need to send a request with mustUnderstand="0". However, no matter what value we set in the 'Must Understand' dropdown in WS-A panel , either TRUE, FALSE, NONE, we always end up with a request with mustUnderstand="1" in the header. Is it a bug and is there a work around?

We tried with two versions of SoapUI: 4.5.2 and 4.5.3

Regards,

Stanislav Ivanov

3 Replies

  • nmrao's avatar
    nmrao
    Icon for Champion Level 1 rankChampion Level 1
    Noticed the same on earlier version as well.

    From what I see on the net is that schema needs to changed..

    Are you testing some error condition?

    May be you can try to set soap head in your request, note that i tried using soapui, it is adding addtional Security with mustUnderstand="1", but tried in firefox http poster where i see authentication failed, may be you can the same if it solves what you are looking for. Note that if you are using HTTP Poster plugin, you may have to set SOAPAction in header property and its value.
    <soapenv:Header>
    <wsse:Security soapenv:mustUnderstand="0" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/07/secext">
    <wsse:UsernameToken>
    <wsse:Username>test</wsse:Username>
    <wsse:Password>test</wsse:Password>
    </wsse:UsernameToken>
    </wsse:Security>
    </soapenv:Header>
  • naislav's avatar
    naislav
    New Contributor
    Thanks for you reply, Rao.

    We are supposed to use SoapUI for sending the requests towards our system.
    Using other type of application is not what we need (firefox http poster). We have another client application and we are able to send requests through it, but it is only for testing purposes. We saw with it that things are Ok when we send request with mustUnderstand=0.

    We need to know if this is really a SoapUI bug and if it is fixed in some version. We need also a workaround in SoapUI itself.

    Thanks!

    Regards, Stanislav
  • nmrao's avatar
    nmrao
    Icon for Champion Level 1 rankChampion Level 1
    Understand that you need it to work in soapui. Just wanted to suggest in case if you want to know whether your service is working with MustUnderstand=0 using alternate way.

    I will let SOAPUI team confirm/suggest the details you requested.