473,657 Members | 2,598 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

What is the usage of SoapHttpClientP rotocol.InvokeA sync?

For web service client, we use SoapHttpClientP rotocol. There is
BeginInvoke/EndInvoke methods defined in this class, and a method
InvokeAsync. The argument list is same as BeginInvoke, but the return
value type is void, not IAsyncResult. So, how can I get result of the
webmethod? If not, does it mean this method is only useful for
webmethod without output?

SoapHttpClientP rotocol.InvokeA sync (String, Object[],
SendOrPostCallb ack) Invokes the specified method asynchronously.
SoapHttpClientP rotocol.InvokeA sync (String, Object[],
SendOrPostCallb ack, Object) Invokes the specified method
asynchronously.
Thanks & Regards,

Aug 3 '07 #1
0 2442

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

Similar topics

2
3003
by: rawCoder | last post by:
Hi I am having this InvalidOperationException with message Cannot call Invoke or InvokeAsync on a control until the window handle has been created This is raised when i try to invoke a method with arguments I need to do this as the method is being called Asynchronously from elsewhere using delegate's BeginInvoke method. The form is well created/initialized yet the messages states otherwise.
0
4010
by: Kim | last post by:
Hi, I am calling a web service from a hand held terminal (running Pocket pc 2002) using the SoapHttpClientProtocol class. Sometimes the terminal gets out of network coverage - in that case I want the terminal to be able to work offline using a cradle. The problem is that when I call the web service (Invoke(), see code below) and during the call loses the connection, the terminal can hang for a very long time in the call (10 minutes or...
0
1171
by: Jimbo | last post by:
Hi people, I need to dynamically locate and call web services. So, I'm trying to write my own more generic proxy by extending SoapHttpClientProtocol. However, I'm getting errors moaning about the BindingAttribute. But, by including like MS demands there is still a compiled reference to a specified service. Without resorting to writing my own SOAP client from scratch is there anything I can do?
4
5130
by: Jit Prasad | last post by:
I have a working client-side Vb.Net (.net v1.0) app that talks to a Webspere webservice on a windows 2000 server. The client side app runs on a citrix server, also a Windows 2000 server. The app worked ok till I installed .Net v1.1 on the citrix, now I get an error when I get the app to use .NET v1.1. If the app uses .NET v1.0 (with .NET v1.1 stalled), then its ok, however I must use v1.1 for other reasons. Has somebody come across...
0
2399
by: kvarga | last post by:
I have written an Windows Service application, in C#, which calls a web service periodically. This application works fine on a variety of Operating Systems including XP Pro, XP Home, Windows 2000 Server and Windows 2003. I have recently installed this application on a computer running Windows 2000 Server that has multiple network cards. One network card connects to the local network. The second network card connects to the firewall and...
0
2458
by: Max M. Power | last post by:
I'm getting an InvalidOperationException calling Invoke with a method parameter object array that contains a two dimentional string array. More stack trace output below: // Create two dimentional array. System::String* tda = new System::String*; tda = "lastName"; tda = "Power"; tda = "firstName"; tda = "Max";
0
1026
by: jeff29_b | last post by:
I am using a class that derives from SoapHttpClientProtocol. This was generated from a wsdl file. One of the methods that it generates takes a string, which is supposed to be encrypted data, within a cdata section. How do I make this proxy class wrap the string in a cdata section? When I did a trace, the soapEnvelope just passed on the encrypted data without wrapping it in the cdata tags. Are there any attributes I can apply to my...
6
13608
by: Bob Kline | last post by:
We have run into a problem trying to build a client which works with a web service implemented against the WSDL at . We have successfully created clients using other tools than the DotNet framework, and in fact we were able to create a client using an earlier version of the framework (1.1.4322.2032) without any problems. With the current version of the framework (2.0.50727.42) it appears that the Invoke method of the...
0
1492
by: Morgan Cheng | last post by:
I use VS auto generated code to invoke a internal network webservice. The auto-generated code use class SoapHttpClientProtocol to do Soap-on- http communication. It turns out that for single SoapHttpClientProtocol instances, TCP connection is always maintained for reuse. This is understandable. Now, I have one load balancer between client and backend webservice cluster, so, single TCP connection for single invocation is prefer-ed. How...
0
8425
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8743
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8622
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7355
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6177
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5647
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4333
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2745
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
2
1973
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.