Re: Rephrased: Running with separate SOAP stacks?

2001-06-26 Thread Dylan J Browne
>These are clients > so they can talk to the service AddressBook from any machine, and it will be > initialized (with 0 records, if you've removed the addEntry lines) as soon as > any client does so. I guess this is what I was trying to get around, I wanted the initialisation to occur before the

RE: Soap error on new installation

2001-06-26 Thread HariNam Singh
note, the files are removed physically as well. I can successful triger a nice error message by making a typo in the method name. It'll tell me that the method name doesn't exist. -Original Message- From: pravin pachbhai [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 26, 2001 3:30 PM To:

Re: simple-jdbc web services question

2001-06-26 Thread Javier A. Soltero
Or, if you'd rather write a bean, then all you need to do is write a class which represents the items in your result set. The only thing that qualifies it as a bean suitable for SOAP tranfer is the following easy rules: - constructor with no arguments - for an attribute: String anAttribute there

Re: simple-jdbc web services question

2001-06-26 Thread Oleg Dulin
On Tue, 26 Jun 2001, sushi mitra wrote: > Hi, > > I wrote a simple web service which is returning result of a sql query. I am > wondering how do I return the ResultSet to the client. I understand I need > to write a bean, but not sure how I am going to do it. Come up with an XML representation o

simple-jdbc web services question

2001-06-26 Thread sushi mitra
Hi, I wrote a simple web service which is returning result of a sql query. I am wondering how do I return the ResultSet to the client. I understand I need to write a bean, but not sure how I am going to do it. Thanks SM _ Get your

RE: Soap error on new installation

2001-06-26 Thread HariNam Singh
Pravin, thank you for your prompt response. As the classpath attached to the original message shows, jaxp.jar and parse.jar are not present anymore. Also, xerces.jar was the first entry. Furthermore, I mentioned that I had tried Xerces 1.4.1 already without success. I had another engineer look

Re: Soap error on new installation

2001-06-26 Thread pravin pachbhai
SET CLASSPATH=C:\soap\samples\addressbook;c:\xerces\xerces.jar;%CLASSPATH% before running this example remove the jaxp.jar and parse.jar file from tomcat\lib folder. use the xerces1.4 or greater version. --- HariNam Singh <[EMAIL PROTECTED]> wrote: > Hi, > > I installed SOAP on Tomcat a few hou

Soap error on new installation

2001-06-26 Thread HariNam Singh
Hi, I installed SOAP on Tomcat a few hours ago, and still can't get my sample service to run properly. As I saw lots of notes on XML parser, I made sure that mine was in the front. As it still didn't work, I got the latest from jaxp. Then 1.4.1 Xerces. Then 1.2.1 Xerces. Neither of those made it

RE: SOAP Performance (against RMI)

2001-06-26 Thread Michael R. Clements
It's hard to compare performance because the test results would depend on the amount and nature of the data marshaled across the function calls. I would suspect that RMI's use of standard Java serialization is more efficient than building and parsing XML strings, thus I would expect RMI to be prop

Re: can't run StockQuote example. Please HELP!!!

2001-06-26 Thread Truong,Hoang C.
Thanks Prasad and Matt, I ran testit.cmd script, now I got a different error message: Ouch, the call failed: Fault Code = SOAP-ENV:Server.BadTargetObjectURI Fault String = Unable to resolve target object: Can anyone help me again? Thanks Hoang Prasad DGV wrote: > > Hi Hoang, > Bef

Re: can't run StockQuote example. Please HELP!!!

2001-06-26 Thread Truong,Hoang C.
Thanks Prasad and Matt, I ran testit.cmd script, now I got a different error message: Ouch, the call failed: Fault Code = SOAP-ENV:Server.BadTargetObjectURI Fault String = Unable to resolve target object: Can anyone help me again? Thanks Hoang Prasad DGV wrote: > > Hi Hoang, > Bef

RE: SOAP Performance (against RMI)

2001-06-26 Thread Irfan Anwar
I am sure that eventually, SOAP implementation will have comparable performance to RMI. -Original Message- From: Sam Ruby [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 26, 2001 12:34 PM To: [EMAIL PROTECTED] Subject: RE: SOAP Performance (against RMI) Irfan Anwar wrote: > > My guess is

RE: can't run StockQuote example. Please HELP!!!

2001-06-26 Thread Prasad DGV
Hi Hoang, Before u run the testit.cmd batch. Make sure u have everything in classpath. Also dont forget that your xerces.jar file shud be the first entry in classpath before any other XML parsers(Suggestion -- Remove any other XML parsers from the classpath to reduce the ambiguity). ~Prasad Duvvu

RE: SOAP Performance (against RMI)

2001-06-26 Thread Sam Ruby
Irfan Anwar wrote: > > My guess is that XML parsing is the bottleneck in the apache SOAP > implementation. This has very little to do with SOAP design. I > think that someone should work towards writing a 'smart xml parser' > targeted to SOAP messages. Any opinion? The Apache xml-axis implemen

RE: can't run StockQuote example. Please HELP!!!

2001-06-26 Thread Matthew J. Duftler
Hi Hoang, Did you deploy the service? Try running the sample by entering using the soap-2_2\samples\stockquote\testit.cmd batch file. Thanks, -Matt > -Original Message- > From: Truong,Hoang C. [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, June 26, 2001 2:58 PM > To: [EMAIL PROTECTED] > Su

caching SOAP response bodies

2001-06-26 Thread Don Gourley
I am creating a directory lookup service using SOAP. Because our directory is pretty slow, I am going to implement a cache so the web service does not have to query the directory for information that has been looked up in the recent past. With the current discussion of performance, it occurs to

RE: SOAP Performance (against RMI)

2001-06-26 Thread Irfan Anwar
My guess is that XML parsing is the bottleneck in the apache SOAP implementation. This has very little to do with SOAP design. I think that someone should work towards writing a 'smart xml parser' targeted to SOAP messages. Any opinion? -Original Message- From: SBC [mailto:[EMAIL PROTE

RE: SOAP Performance (against RMI)

2001-06-26 Thread Hansen, Richard
And SOAP will just be get faster over time. RMI probably won't. > -Original Message- > From: SBC [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, June 26, 2001 1:56 PM > To: [EMAIL PROTECTED] > Subject: Re: SOAP Performance (against RMI) > > > I did a simple test & found that RMI is 6 times

Re: SOAP Performance (against RMI)

2001-06-26 Thread SBC
I did a simple test & found that RMI is 6 times faster. I used apache 2.2 with wls 6.0. I would not call it a real benchmark, but it gave me some idea. --- Ralf Bierig <[EMAIL PROTECTED]> wrote: > Hi, > > are there any performance measurement materials > about > SOAP against RMI in Web? Did some

can't run StockQuote example. Please HELP!!!

2001-06-26 Thread Truong,Hoang C.
Hello all, Sorry for a newbie question. I am trying to do SOAP for my project. I just want to get started on this SOAP thing, I tried the Stock Quote example. Here is the error message I got: Ouch, the call failed: Fault Code = SOAP-ENV:Server Fault String = service 'urn:xmltoday-dela

RE: Design Help

2001-06-26 Thread Hansen, Richard
SOAP already serializes objects to XML. It is a matter of how the clients get them out of the message. Rick Hansen > -Original Message- > From: David Rioux [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, June 26, 2001 5:12 PM > To: [EMAIL PROTECTED] > Subject: RE: Design Help > > > Hi: >

RE: Design Help

2001-06-26 Thread David Rioux
Hi: We ended up serializing our java objects to XML (Tradia's InstantXML is helping with this now; our production version used our own serialization code) so that it could be parsed by a C++ object on the client side. I suspect this is safer than making a platform-specific (java) SOAP service...

Design Help

2001-06-26 Thread Khamesra, SandeepX
I need to know what could be the best design for the following scenerio... I am writing a java service .. It needs to returns a java object ..How will client written other than in java will understand ?

Re: Rephrased: Running with separate SOAP stacks?

2001-06-26 Thread Tom Myers
At 03:15 PM 6/26/2001 +0100, Dylan J Browne wrote: >In the example the AddressBook is self populating, it doesnt exist and isnt >populated until I run GetAddress... (is this right?). or PutAddress, or PutListings, or any of the other clients... >What I want to do is remove the creation of Add

SOAP Session timouts

2001-06-26 Thread Ryan Winkler
I've been going over the documentation and archives, but I can't find how to set the session timeout for SOAP. Can anyone give me some assistance? -Ryan

Re: Executing first example in SOAP

2001-06-26 Thread greyson . smith
What is your classpath? Mandar Gandhe

Re: Executing first example in SOAP

2001-06-26 Thread Mandar Gandhe
attached is the error log.. i am trying to run an example from samples.Addressbook - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 26, 2001 4:58 PM Subject: Re: Executing first example in SOAP > > What is the error that you're getting? > > > >

Re: Executing first example in SOAP

2001-06-26 Thread greyson . smith
What is the error that you're getting? Mandar Gandhe

When to Serialize /Deserialie

2001-06-26 Thread Khamesra, SandeepX
Where can I read more about Serializer and Deserailizder.. I need to know hwen I am suppose to serialize /deserailize.. s there any good tutorial on SOAP.. If I wat to pass a Array

Executing first example in SOAP

2001-06-26 Thread Mandar Gandhe
Hi ... I am a new joined member of this group. I am trying to run my first SOAP example right now and I am facing some problems. I am using soap-2_2 from Apache-Soap (www.wml.apache.org) and using Tomcat as the webserver. I can see the Admin client (as indicated in the installation document)

RE: How to handle faults?

2001-06-26 Thread Glen Daniels
Hi Mattias! Comments inline: > The problem: > > > Our application needs to be able to return application errors > in a way that makes it possible for a client to > programmatically identify the error. The client should be > able to take proper action and inform a user on various

RE: How to handle faults?

2001-06-26 Thread Hansen, Richard
I have implemented your first choice. In my reading of the spec it is perfectly OK, even expected, to extend the fault code mechanism. I think you want to make sure to follow the spec about using SERVER and CLIENT. You are right that a fault listener is what you need to get this done. Rick Hansen

SOAP Performance (against RMI)

2001-06-26 Thread Ralf Bierig
Hi, are there any performance measurement materials about SOAP against RMI in Web? Did somebody made a benchmarktest with SOAP (and maybe RMI)? I am looking for material to determine, if SOAP is good enough to fullfil the requirements I need for a project. Greetings Ralf __

Length of soap message

2001-06-26 Thread Ralf Bierig
How can I retrieve the length of a soap message? Is there a Class, which enable me to get the length of the complete message? Or of parts of a message: Like -> Give me the length of the XML String of the parameter list of the SOAP body - and so on... Greetings Ralf __

Rephrased: Running with separate SOAP stacks?

2001-06-26 Thread Dylan J Browne
Ok. Try again. I was well off the mark earlier. :o| In the example the AddressBook is self populating, it doesnt exist and isnt populated until I run GetAddress... (is this right?). What I want to do is remove the creation of AddressBook, (and its population), into a separate class that I can

How to handle faults?

2001-06-26 Thread Abrahamsson Mattias
Hi all, I have a problem where I need some guidance before developing a solution. The problem: Our application needs to be able to return application errors in a way that makes it possible for a client to programmatically identify the error. The client should be able to take prop

Invoking a method with httpReq,httpRes params

2001-06-26 Thread Fabrizio Candon
Hello, I would like to invoke with soap a servlet method such as service(req, res) so I'm asking if anyone knows about how can I do this, as I couldn't find how to pass httpRequest and httpResponse as parameters. A second question is if it exists a soap client that could be used by Flash Macromed

Re: Running with separate SOAP stacks?

2001-06-26 Thread Dylan J Browne
I think my misunderstanding comes from how SOAP works after what you've said, I should be able to run my stuff as is I'll try to achieve what I want to again for a couple of days and re-post if I have any further trouble. (Sorry, ignore my previous mail for now). Cheers. - Original

Re: Running with separate SOAP stacks?

2001-06-26 Thread Tom Myers
At 12:00 PM 6/26/2001 +0100, Dylan J Browne wrote: >Hi, > >This is a difficult question to put into words, especially as I am new-ish >to SOAP, but I'll try > >All the examples given with SOAP2.2, and all the others I can find on the >web, are run using a single SOAP implementation(Ie on one m

Running with separate SOAP stacks?

2001-06-26 Thread Dylan J Browne
Hi, This is a difficult question to put into words, especially as I am new-ish to SOAP, but I'll try All the examples given with SOAP2.2, and all the others I can find on the web, are run using a single SOAP implementation(Ie on one machine). EG in the AddressBook, the calling/instantion of

i resolve the question.

2001-06-26 Thread HongBao Wang
Thank you All, I type the class name "hello.HelloServer" in the wrong field, i must type it in the Java Provider. sicerely yours HongBao Wang - Original Message - From: <[EMAIL

Réf. : Re: Réf. : I want run the HelloWorldsample,get afault.

2001-06-26 Thread manuel . paitreault
>> maybe you must specify which port you decide to use : 8080 http://localhost:8080/soap I'm not sure that could be the cause of your problem I use the xerces.jar is 1.2.3, and I set the classpath like this E:\jdk\jre\lib\rt.jar; E:\jdk\jre\lib\i18n.jar; E:\private\xerces.jar; E:\private

Re: Réf. : I want run the HelloWorld sample,get afault.

2001-06-26 Thread ???
I use the xerces.jar is 1.2.3, and I set the classpath like this E:\jdk\jre\lib\rt.jar; E:\jdk\jre\lib\i18n.jar; E:\private\xerces.jar; E:\private\mail.jar; E:\private\activation.jar; E:\private\soap.jar what other jar file do need. and i can see the deployed webservice from the http://lo