Re: How to return .xml file from web service
- From: "Bart Van der Donck" <bart@xxxxxxxxxx>
- Date: 6 Sep 2006 01:30:59 -0700
Bharat wrote:
I have one web service ,which interacts with database and creates one
.xml file, now I want to pass this file to client...
can I return this file from web service to client....if yes plz tell me
how??
The web service is the 'passive' part and the client the 'active' part.
This means, your service only responds to incoming requests from
clients that build up a connection with the service. The answer of the
server depends on the client's question. The service is a so-called
'daemon', that is, a programme that is listening at the server on a
specified port to incoming requests.
This stuff is typically done using socket communication. But I've also
seen web services over plain http, ftp or even by automated e-mail
processing. Plain http/ftp is simple: just place you XML file in a
fixed location and then point the client to that location with a GET
request.
There is support in most languages. I've seen examples in Perl, Java,
VB, C++... PHP's socket communication is still beta, so I heard. Pick
your favourite API language and study its documentation on how web
service requests are done there.
Hope this helps,
--
Bart
.
- Follow-Ups:
- Re: How to return .xml file from web service
- From: Bharat
- Re: How to return .xml file from web service
- References:
- How to return .xml file from web service
- From: Bharat
- How to return .xml file from web service
- Prev by Date: Schematron diagnostics
- Next by Date: Re: Help requested: XML / XSD confusion - "prefix must resolve to a namespace" exception...
- Previous by thread: How to return .xml file from web service
- Next by thread: Re: How to return .xml file from web service
- Index(es):
Relevant Pages
|