Hi friends: I want to create a soap method on server.It can query database and create a ArrayList using java. But I have seen the Apache soap and Axis.But they must create a xml file and send the xml to client.But the problem is that I shouldn't create xml on server. There are many people view the data everyday.If I create a new file when client invoke the soap method,it will be millions of file be created every hours! How do I create a xml stream and send it to client without a xml file on server? I must create a new xml file if I use soap webservices? thks!
SOAP servers don't usually work by creating files, instead they create the response as an XML formatted character stream as a response. I think you should work through some of the AXIS examples until you understand whats going on instead of jumping into the middle of your own project design. Bill
What you say is what I want to get.I have seen Axis example some times but no luck. I can seen a xml file in several example.I don't find without create xml's example .Could you tell me where is the file or these example's URL? Thks in advanced!
Did you download the AXIS package, install it and get the examples running? Next pick one of the examples that is close to what you want to do, get your environment set up so you can compile and run that example without changes. Next move that example into your own package/ application server and get it working. Finally you are ready to write your own code, using that example as a guide. Bill