How to make a calls to PPC from a WS?

G

Guest

If I have a client application running on a PPC, can I make calls to that application from a web service? If so, how would I do it?

Because wouldn't the application running on the PPC have to become a server, and if so does PPC support that? Does anyone know how to do this?

Thanks,
Stephen
 
C

Chris Tacke, eMVP

You're describing remoting, not a Web Service, and unfortunately Remoting
isn't supported in the CF.

-Chris


stevebju said:
If I have a client application running on a PPC, can I make calls to that
application from a web service? If so, how would I do it?
Because wouldn't the application running on the PPC have to become a
server, and if so does PPC support that? Does anyone know how to do this?
 
P

Paul G. Tobey [eMVP]

If you read the article, the answers to your questions are already there:

Yes, you can host a simple Web service using the SOAP support in your PPC.
In order to do it, you'd have to figure out what calls and what parameters
to those calls will be supported and build the SOAP stuff, just as in the
article (except in VB.NET, presumably). You'd have to build a Web server,
parse the incoming data properly, call the targeted method with the incoming
parameters and return whatever result the service contract specifies.

Yes, you would have to be a server and yes the PPC does support that
(obviously, given that the article does it). You'd have to use either the
Socket class or the TCPListener class to create the server socket.

Note that this would not be, without significant work, a full-blown Web
service. You might be just as well-off to simply create a socket server
program and a custom protocol to do whatever you need to do...

Paul T.

stevebju said:
Thanks, I didn't think about remoting. Here is an article that talks about
Pocket SOAP and host a web service on the PPC:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top