Showing results for 
Search instead for 
Did you mean: 

Howto translate SoapUI TestCase to .NET?

Not applicable

Howto translate SoapUI TestCase to .NET?

I am fairly new to SOAP. I have a SoapUI test that calls a web service, and it works correctly, returns the correct response. I generated some .NET classes and put them in my .NET C# project. I can not get the .NET call to work. I suspect it is because I dont know how to translate the security settings from the SoapUI TestCase to the .NET function calls. Can anyone point me in that direction?

Here is the Raw HTTP from the SoapUI test case. What security objects do I need in .NET?

Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: ""
Content-Length: 925
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)

<soapenv:Envelope xmlns:soapenv="" xmlns:ta="">
<soapenv:Header><wsseSmiley Frustratedecurity soapenv:mustUnderstand="1" xmlns:wsse="" xmlns:wsu=""><wsse:UsernameTo... wsu:Id="UsernameToken-25"><wsse:Username>whatever</wsse:Username><wsseSmiley Tongueassword Type="">wha...Smiley Tongue EncodingType="">YzuP...Smiley Frustrated

Many thanks for any help.
New Contributor

Re: Howto translate SoapUI TestCase to .NET?

Did you ever solve this?

Tags (3)
New Here?
Join us and watch the welcome video:
Watch the new Interview
Top Kudoed Authors