473,569 Members | 2,768 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Calling web services with no proxy

JC
I'm a newbie to web services, so forigve me if I ask a stupid
question, but here it is...

The application I am working on is supposed to be a test client for a
web service. Basically, they want to be able to construct an XML file
containing a function call in Notepad (or whatever) then my
application will enable them to select an .xml file, post it to a URL
and record the response.

From the reading I have done around web services to date, it appears
that the usual usage of a web service involves a tight definition of
the call, creating a proxy class and so on, but I don't want to make
calls like this - I just want to be able to send XML data to a URL and
see what I get back.

Can anyone give me some guidance on classes/namespaces or other
resources I can look at to get me started on achieving this?

Thanks in advance,
Jul 19 '05 #1
1 2326
jc*******@hotma il.com (JC) wrote in news:2bc191ef.0 307270915.73f9f 806
@posting.google .com:
Can anyone give me some guidance on classes/namespaces or other
resources I can look at to get me started on achieving this?

Thanks in advance,


WebService calls are just http calls. If you generate a proxy with wsdl.exe
you can see exactly how it is making the calls to the server.

For posting XML and getting responses back, you probably want to look at
the HttpWebRequest and HttpWebResponse classes.

Mark
Jul 19 '05 #2

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

Similar topics

5
6760
by: niftyhawk | last post by:
Hi, Can anybody give me a simple example of how to Call Web Services from Mozilla based Browsers ? I can call web services from IE browser using web service behavior file, without any problems. Just wanted to know an easy way to call them from Firefox or Netscape. Thanks, Nifty.
2
4698
by: Greg Decos | last post by:
Hi I am calling a web service using a proxy class generated using wsdl.exe Does anyone know what the error I get means? Is the namespace mentioned below part of the response I get from the web service? Exception:System.InvalidOperationException: Namespace prefix 'AWE' not defined at...
0
2334
by: Dominick Baier | last post by:
Hi, try to set the PreAuthenticate property on the client proxy to true - i never needed this but the docs sound like that this could solve your problems. --- Dominick Baier - DevelopMentor http://www.leastprivilege.com
3
6481
by: Matt D | last post by:
I've got two web services that use the same data types and that clients will have to consume. I read the msdn article on sharing types (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnservice/html/service07162002.asp) but I don't want clients to have to add two web references and then manually have to edit the proxy classes....
7
6006
by: Stu | last post by:
Hi, I have a web service which returns a record set and works well integrated with an asp dot net page. However if I decided to develop a unix app will i be able to read the dataset as it is or do i need to write the xml as text from the web service and supply a DTD. Also any other pitfalls TIA
2
2743
by: yqlu | last post by:
I hava developed a client in C# that is connected to a 3-party XML Web Services developed in Java based on the AXIS 1.1. Most methods call are successful except for one method named "findObjects" and return a complex type "FieldSearchResult". The error message as following : "Cannot assign object of type System.String to an object of type...
0
1030
by: Dave | last post by:
If I'm making several asynchronous web service calls using the services Begin/End methods. How do you return the results of the webservice back to the main thread or calling page? Here's my code, I get the XML in the callback but not sure how to return it since the BeginXXX expects a IAsynchResult? IAsyncResult ar =...
1
4023
by: jens Jensen | last post by:
Hello , i'm calling a webservice generated with oracle webservice java tools. I'm not able to add a web reference to a .net client the usual way with visual studio 2005. I was therefore provided with a set of Dll that implement the proxy needed to consume this web service. I'm now wrapping these dlls in a .Net webservice that can be...
2
4669
by: rakesh kumawat | last post by:
I am facing a problem while reading the result which is loaded in DOMDocument. In which I am sending a request to web service and getting a record of Single Order. This is my VB Code which is i am using.... ......................... Dim Connector As SoapConnector30 ' To connect to webservice Dim Serializer As SoapSerializer30 '...
0
7695
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7922
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7964
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6281
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5509
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5218
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3653
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3637
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2111
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.