Why is different the response of a WS with SoapUI that with Windows Foundation Classes Test Client?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2017
11:46 AM
12-28-2017
11:46 AM
Why is different the response of a WS with SoapUI that with Windows Foundation Classes Test Client?
I am trying to consume a Web Service.
I am using the test Client of Microsoft "WcfTestClient.exe" but what the Web Service shows is not the same of the SoapUI.
What can be wrong?
I'd be more that GRATEFUL for any hint, advice or instruction.
Greetings from México City.
2 REPLIES 2
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2017
06:49 PM
12-30-2017
06:49 PM
Generally the response you get back from a webservice will be based on:
- the URI you are requesting
- the headers on your request (for example, Accept header, which specifies what format you want the response in)
- the content you are sending in your request (if any)
In SoapUI, you can look at the Raw tab to the left of your request to see all of this in one place. For example:
POST http://localhost:8080/ HTTP/1.1 Accept-Encoding: gzip,deflate Content-Type: text/xml;charset=UTF-8 SOAPAction: "http://www.soapui.org/sample/buy" Content-Length: 364 Host: localhost:8080 Connection: Keep-Alive User-Agent: Apache-HttpClient/4.1.1 (java 1.5) <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/"> <soapenv:Header/> <soapenv:Body> <sam:buy> <sessionid>?</sessionid> <buystring>?</buystring> </sam:buy> </soapenv:Body> </soapenv:Envelope>
See if you can find a similar view in the other program, in order to compare the requests generated from each.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2017
10:26 PM
12-31-2017
10:26 PM
New Year Greetings.
It is difficult to guess the problem based on the provided information.
You may check the "Raw" tab of request editor to see what exactly request and its headers are sent to the server by SoapUI and compare it with your WCF client.
Regards,
Rao.
It is difficult to guess the problem based on the provided information.
You may check the "Raw" tab of request editor to see what exactly request and its headers are sent to the server by SoapUI and compare it with your WCF client.
Regards,
Rao.
