Re: How to return .xml file from web service



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

.



Relevant Pages

  • Re: How to return .xml file from web service
    ... .xml file, now I want to pass this file to client... ... The web service is the 'passive' part and the client the 'active' part. ... your service only responds to incoming requests from ...
    (comp.text.xml)
  • Re: Do Web services have a lease time?
    ... The only thing this Web service does is accept a small XML file and ... the Web service works fine for 24 - 48 hours. ... The IIS client is just restarted, ... once you restart IIS (on the client machine -- the ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: asp.net webservice design/ component issue
    ... a client of a remoting web service needs to be aware ... >> single instance of the beastly object and manage incoming requests ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: Do Web services have a lease time?
    ... The only thing this Web service does is accept a small XML file and ... the Web service works fine for 24 - 48 hours. ... The IIS client is just restarted, ... all requests to it get "The operation has ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: asp.net webservice design/ component issue
    ... > My initial idea is to design a wrapper component that could hold the ... > single instance of the beastly object and manage incoming requests ... > wait (the problem is overall server resources, ... > wrapper class so that is available to the web service each time it is ...
    (microsoft.public.dotnet.framework.aspnet.webservices)