473,396 Members | 2,029 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Consuming Webservice

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

Apr 17 '07 #1
3 1671
"Rajiv" <Ra***@discussions.microsoft.comwrote in message
news:4D**********************************@microsof t.com...
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).

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.

--

John Saunders [MVP]
Apr 17 '07 #2
Thanks for the reply, John.

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

Thanks again.

Rajiv

"John Saunders [MVP]" wrote:
"Rajiv" <Ra***@discussions.microsoft.comwrote in message
news:4D**********************************@microsof t.com...
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).


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.

--

John Saunders [MVP]
Apr 18 '07 #3
"Rajiv" <Ra***@discussions.microsoft.comwrote in message
news:20**********************************@microsof t.com...
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/lib...ebrequest.aspx.

--

John Saunders [MVP]
Apr 18 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: kamig | last post by:
Hi! Scenario: Consuming my webService in a windows application give denied acces! Explanation: I have to say a moveTo fn. which move one file/dir from one drive to another, <authorization>
0
by: plmanikandan | last post by:
I need to develop a application to consume a webservice. For consuming web service i tried a example in Consuming a Web Service in C# in http://www.csharphelp.com.But i am uanble to use that...
5
by: Preben Zacho | last post by:
Anyone that has a link or description that simply as possible shows how to add a web reference to a class library in C# and consuming it? TIA PZ
0
jeffbroodwar
by: jeffbroodwar | last post by:
hi, i need help about consuming webservice created in java with vb6. i've created the webservice in netbeans with sun java server bundle and used MS Soap toolkit 3.0 on the client side. i've...
2
jeffbroodwar
by: jeffbroodwar | last post by:
hi, i need help about consuming webservice created in java with vb6. i've created the webservice in netbeans with sun java server bundle and used MS Soap toolkit 3.0 on the client side. i've...
0
jeffbroodwar
by: jeffbroodwar | last post by:
hi, i need help about consuming webservice created in java with vb6. i've created the webservice in netbeans with sun java server bundle and used MS Soap toolkit 3.0 on the client side. i've...
5
jeffbroodwar
by: jeffbroodwar | last post by:
hi, i need help about consuming webservice created in java with vb6. i've created the webservice in netbeans with sun java server bundle and used MS Soap toolkit 3.0 on the client side. i've...
4
by: Boni | last post by:
I want consuming a webserivce trough a proxy. I use this code. myService s = new myService (); System.Net.WebProxy proxyObject = new System.Net.WebProxy("http://proxyhost:8080"); s.Proxy =...
1
by: Thomas Mueller | last post by:
Hi, I'm currently working on C# code consuming a PHP-webservice (soapserver-class of PHP5). A PHP test-client worked fine and achieved the requested data from the service's server. Using the...
2
by: arnomarga | last post by:
I am trying to consuming a .NET web service from a standard (classic) ASP, but having not so much luck as I dont have much experience about SOAP. Here is the webservice url:...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.