472,328 Members | 1,942 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

Passing objects from C# Application

I have a C# application that runs on the local machine. I want to write
code that will pass an object from this application to a remote webservice.
Is this possible and are there any example about?

Many thanks.
Doug
Nov 18 '05 #1
2 1001
Hi Dougie,

You can pass an object from the application running on localmachine to a
remote webservice. The object which you are passing to the webservice should
be serializable.

you need to add a webrefrence to your application running on the local
machine.

here is a some sample code which will help you to start with.

http://msdn.microsoft.com/library/de...references.asp

HTH
Ashish M Bhonkiya

"Dougie" <no*******@nks.com> wrote in message
news:O0**************@TK2MSFTNGP12.phx.gbl...
I have a C# application that runs on the local machine. I want to write
code that will pass an object from this application to a remote webservice. Is this possible and are there any example about?

Many thanks.
Doug

Nov 18 '05 #2
Many Thanks.

Doug.

"Ashish M Bhonkiya" <bh******@hotmail.com.nospam> wrote in message
news:ez**************@TK2MSFTNGP12.phx.gbl...
Hi Dougie,

You can pass an object from the application running on localmachine to a
remote webservice. The object which you are passing to the webservice should be serializable.

you need to add a webrefrence to your application running on the local
machine.

here is a some sample code which will help you to start with.

http://msdn.microsoft.com/library/de...references.asp
HTH
Ashish M Bhonkiya

"Dougie" <no*******@nks.com> wrote in message
news:O0**************@TK2MSFTNGP12.phx.gbl...
I have a C# application that runs on the local machine. I want to write
code that will pass an object from this application to a remote

webservice.
Is this possible and are there any example about?

Many thanks.
Doug


Nov 18 '05 #3

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

Similar topics

6
by: Bryan Martin | last post by:
I have a object that is created in a seperate domain which needs to be passed back to the parent class. Because this object is created in a...
6
by: Bryan Martin | last post by:
I have a object that is created in a seperate domain which needs to be passed back to the parent class. Because this object is created in a...
6
by: Bryan Martin | last post by:
I have a object that is created in a seperate domain which needs to be passed back to the parent class. Because this object is created in a...
6
by: Bryan Martin | last post by:
I have a object that is created in a seperate domain which needs to be passed back to the parent class. Because this object is created in a...
12
by: Noel | last post by:
Hello, I'm currently developing a web service that retrieves data from an employee table. I would like to send and retrieve a custom employee...
0
by: tammygombez | last post by:
Hey everyone! I've been researching gaming laptops lately, and I must say, they can get pretty expensive. However, I've come across some great...
0
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
0
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
0
by: CD Tom | last post by:
This happens in runtime 2013 and 2016. When a report is run and then closed a toolbar shows up and the only way to get it to go away is to right...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...

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.