How to Test Web Services

A

Anbu

Hi All,

How to test a .NET Web Service with NUnit?

When I use XML Deserializer, the result becomes
<?xml version="1.0" encoding="utf-16"?>
<response>ok</response>

While testing the page from Internet explorer, it shows the following
as the expected result,

<q1:serviceResponse xmlns:q1="urn:CallSetup"><serviceReturn
xsi:type="q1:response"
xmlnssi="http://www.w3.org/2001/XMLSchema-instance">ok</serviceReturn></q1:serviceResponse>

This is one of the simple cases, but I have few complex datatypes
defined the few of the web services.

How to validate the output?

Any suggestions??
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,233
Members
46,820
Latest member
GilbertoA5

Latest Threads

Top