473,395 Members | 1,675 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,395 software developers and data experts.

Client Adding Extra Methods

I'm using the webservice I've created:

http://www.emergencyreporting.com/ER...SDispatch.asmx

When building a client VB.NET app, and adding a web reference to the above
file, I see that the client is creating extra methods. For my IncidentOpen
method, the client is adding methods like BeginIncidentOpen and
EndIncidentOpen. This is not an async web service, is there a corresponding
web service setting I need to set so these methods won't get created on the
client?

thx

Jeff
Nov 21 '05 #1
1 1567
Jeff,

The Begin* and End*methods are generated by the "generate web service
proxy" code found in the .NET Framework and tools (i.e., wsdl.exe, Add
Web Reference in VS.NET). I do not believe you can control the code
generation to a level which would allow you not say "do not generate
these methods."

These methods are included in the proxy to allow clients to call web
services asynchronously. The methods have no affect on the
implementation of the actual web method. These methods are useful if
you are writing WinForm based application and you do not want to
"freeze" the UI while the program waits for the web service to return.

-KIRBY
--
Kirby Turner, MCSD, MCAD
www.whitepeaksoftware.com
On Wed, 22 Sep 2004 08:54:30 -0700, "Jeff Dillon"
<je**@removeemergencyreporting.com> wrote:
I'm using the webservice I've created:

http://www.emergencyreporting.com/ER...SDispatch.asmx

When building a client VB.NET app, and adding a web reference to the above
file, I see that the client is creating extra methods. For my IncidentOpen
method, the client is adding methods like BeginIncidentOpen and
EndIncidentOpen. This is not an async web service, is there a corresponding
web service setting I need to set so these methods won't get created on the
client?

thx

Jeff


Nov 21 '05 #2

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

Similar topics

6
by: Glauco | last post by:
I'm trying to use SOAPpy 0.10.1 for a client but is difficult to handle easly Is this library in use or i'm using an OLD death library ? I'm alone in find a lot of problem in a SOAP Client ?...
2
by: raymond | last post by:
Hi, Is it possible to create a proxy client class or a web service method by VS.NET without using wsdl? My stupid client is using a xml schema (.xsd) to describe all their web service methods...
0
by: Martin | last post by:
Hey, I am currently writing a WebService ("Server") and a WinApp ("Client") so that a user can use a third program through the web. To do that the client needs a table from a database. Here...
0
by: Josef Meile | last post by:
Hi, I'm working with .resx files for a multilanguage application and so far it has worked perfectly. However, now I want to add more attributes to the xml schema and read them at running time....
11
by: Andy | last post by:
Make the story short, I have a VB.NET client interface calling .NET webservice, written in VB.NET as well. I am trying to make the client as thin as possible so I let the webservice part to...
47
by: Albert | last post by:
So structures are useful to group variables, so you can to refer to a collection as a single entity. Wouldn't it be useful to also have the ability to collect variable and functions? Ask K&R...
1
by: khubieb | last post by:
Situation: We have to connect to a 3rd party XML Web Service outside our LAN by adding a WCF Service Reference to a simple console application Problem: When attempting to invoke any of the...
6
by: Mikhail T. | last post by:
Hello! The Tcl's Tcl_SetFromAnyProc type is defined (in tcl.h) as: typedef int (Tcl_SetFromAnyProc) _ANSI_ARGS_((Tcl_Interp *interp, struct Tcl_Obj *objPtr)); The function's purpose is: ...
0
by: Steve K. | last post by:
I understand the concepts and rules for invoking UI methods from a non-UI thread. In the past I have always checked with the control's InvokeRequired property and Invoked my delegate accordingly. ...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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,...
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
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...

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.