Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / April 2007

Tip: Looking for answers? Try searching our database.

Consuming Webservice

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rajiv - 17 Apr 2007 08:50 GMT
Hi,

I have a webservice developed using asp.net(c#), which is beign consumed by
oracle PL/SQL client. I have tested my webservice code using a asp.net test
client page and everything seems to be working OK.

But the client is having some problem with some specific requests for which
they have sent me the SOAP message. Is there any way, wherein I can use this
SOAP message directly to test my webservice(without the use of proxy class).

Thanks & Regards,
Rajiv
John Saunders [MVP] - 17 Apr 2007 18:36 GMT
> Hi,
>
[quoted text clipped - 10 lines]
> SOAP message directly to test my webservice(without the use of proxy
> class).

Certainly. You can write a test harness which reads the XML file, then uses
the WebRequest/WebResponse classes to send the SOAP to the service and
receive the response. Your test harness can then write the result to a file,
where you can examine it.

Signature

John Saunders [MVP]

Rajiv - 18 Apr 2007 06:18 GMT
Thanks for the reply, John.

Is there some sample code that I can refer to for the Test harness?

Thanks again.

Rajiv

> > Hi,
> >
[quoted text clipped - 15 lines]
> receive the response. Your test harness can then write the result to a file,
> where you can examine it.
John Saunders [MVP] - 18 Apr 2007 12:08 GMT
> Thanks for the reply, John.
>
> Is there some sample code that I can refer to for the Test harness?

Take a look at the MSDN documentation on WebRequest. It will give you a
start. See
http://msdn2.microsoft.com/en-us/library/system.net.webrequest.aspx.

Signature

John Saunders [MVP]


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.