Re: How to return .xml file from web service
- From: "Bharat" <mailtomakwana@xxxxxxxxx>
- Date: 12 Sep 2006 23:11:09 -0700
Thank you..Bart... it's working fine.
Thank You again
Bharat
Bart Van der Donck wrote:
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
.
- References:
- How to return .xml file from web service
- From: Bharat
- Re: How to return .xml file from web service
- From: Bart Van der Donck
- How to return .xml file from web service
- Prev by Date: Re: Stumped - Need XSLT Help
- Next by Date: Xml indent problem
- Previous by thread: Re: How to return .xml file from web service
- Next by thread: Literal (not newline)
- Index(es):
Relevant Pages
|