While the performance of Apache SOAP is not at all times exemplary, you are experiencing unusually poor performance. I have a simple service where the client sends the contents of a file as a byte array and the server returns a slightly modified version of the byte array. On a 400 MHz AMD K6-III running Win2k, JDK 1.3.1, Tomcat 4.0.1 and the newest build of Apache SOAP, the round trip time is 17 seconds for a 1.7 MB file. Note that this includes encoding the byte array in Base64, which means the data transmitted is 33% larger than the file itself.
Scott Nichol ----- Original Message ----- From: "dumdum 420" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 12, 2002 2:43 PM Subject: Re: Error while fetching data from a web service using SOAP > Well I just used a build in TCP/IP Monitor build in WSAD and was able to get > the feedback but it took apprx. 103454 ms (roughly 1.45 mins). The client > got the java String and i tried to copy the String and put it in the file > and the size was apprx. 926KB. > Now what I am wondering is why is the call to the rpcrouter taking that long > to return the data. > > Kindly reson this out since else the webservices would not be accepted in > the production environment under such speed constraint , this woudl be very > slow for other applications to consume the same. > > Thanx > > Bhanu Pabreja > > > > From: Scott Nichol <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: Re: Error while fetching data from a web service using SOAP > Date: Tue, 12 Nov 2002 14:12:11 -0500 > > There's nothing obvious that comes to mind. I asked about your > environment because if you used some oddball or homegrown servlet > container, for example, I would wonder whether that container flushes > the stream that the servlet writes to. > > I wish you success in tracking this down. > > Scott Nichol > ----- Original Message ----- > From: "dumdum 420" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, November 12, 2002 2:02 PM > Subject: Re: Error while fetching data from a web service using SOAP > > > > I am using JDK 1.3.1 with Websphere4.0 on Win2k box. I really did not > try > > the Network Monitor cause I thought if I can get the feedback for the > same > > data using a servlet why not from a webservice what difference would > it > > make. > > > > I have a TCP/IP monitor built into my IDE (WSAD) so I will try to work > it > > from there and let you know what happens on my localhost. > > > > But mean while if u can think of anything do let me know. > > > > Thanx, > > > > Bhanu Pabreja > > > > > > From: Scott Nichol <[EMAIL PROTECTED]> > > Reply-To: [EMAIL PROTECTED] > > To: [EMAIL PROTECTED] > > Subject: Re: Error while fetching data from a web service using SOAP > > Date: Tue, 12 Nov 2002 13:15:41 -0500 > > > > What is the environment your service is running in, e.g. operating > > system, JDK version, servlet container? Have you looked at the > network > > traffic with an OS tool (e.g. Network Monitor on Win2k or tcpdump on > > Linux) or a relay (e.g. TcpTunnelGui, tcpTrace, proxyTrace)? > > > > Scott Nichol > > > > ----- Original Message ----- > > From: "dumdum 420" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Tuesday, November 12, 2002 11:59 AM > > Subject: Re: Error while fetching data from a web service using SOAP > > > > > > > I am glad somebody responded. It varies between 69414 bytes or > 69415 > > bytes. > > > > > > Bhanu Pabreja > > > > > > > > > > > > From: Scott Nichol <[EMAIL PROTECTED]> > > > Reply-To: [EMAIL PROTECTED] > > > To: [EMAIL PROTECTED] > > > Subject: Re: Error while fetching data from a web service using > SOAP > > > Date: Tue, 12 Nov 2002 11:13:22 -0500 > > > > > > Are you still having this problem? > > > > > > If so, does the error always state 69415 bytes read, or does that > > number > > > change? In other words, is the error completely reproducible? > > > > > > Scott Nichol > > > > > > ----- Original Message ----- > > > From: "dumdum 420" <[EMAIL PROTECTED]> > > > To: <[EMAIL PROTECTED]> > > > Sent: Thursday, November 07, 2002 12:12 PM > > > Subject: Error while fetching data from a web service using SOAP > > > > > > > > > > Hi All, > > > > > > > > I am fetching a String from my Java program which is web service > > > enabled. > > > > > > > > When the string is not very big the data comes easily and is > > displayed > > > on > > > > the client who is accesing this webservice but when the String > > becomes > > > long > > > > i get the following exception: > > > > > > > > exception: [SOAPException: faultCode=SOAP-ENV:Protocol; > > msg=Premature > > > end of > > > > stream. Data is truncated. Read 69415 bytes successfully, > expected > > > 94780] > > > > > > > > I am really confused. Really help me. > > > > > > > > Thanx a lot > > > > > > > > Bhanu Pabreja. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > _________________________________________________________________ > > > > Protect your PC - get McAfee.com VirusScan Online > > > > http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > > > > > > > > > > > > -- > > > > To unsubscribe, e-mail: > > > <mailto:soap-user-unsubscribe@;xml.apache.org> > > > > For additional commands, e-mail: > > > <mailto:soap-user-help@;xml.apache.org> > > > > > > > > > > > > > > > > > -- > > > To unsubscribe, e-mail: > > <mailto:soap-user-unsubscribe@;xml.apache.org> > > > For additional commands, e-mail: > > <mailto:soap-user-help@;xml.apache.org> > > > > > > > > > _________________________________________________________________ > > > The new MSN 8: advanced junk mail protection and 2 months FREE* > > > http://join.msn.com/?page=features/junkmail > > > > > > > > > -- > > > To unsubscribe, e-mail: > > <mailto:soap-user-unsubscribe@;xml.apache.org> > > > For additional commands, e-mail: > > <mailto:soap-user-help@;xml.apache.org> > > > > > > > > > > > > -- > > To unsubscribe, e-mail: > <mailto:soap-user-unsubscribe@;xml.apache.org> > > For additional commands, e-mail: > <mailto:soap-user-help@;xml.apache.org> > > > > > > _________________________________________________________________ > > STOP MORE SPAM with the new MSN 8 and get 2 months FREE* > > http://join.msn.com/?page=features/junkmail > > > > > > -- > > To unsubscribe, e-mail: > <mailto:soap-user-unsubscribe@;xml.apache.org> > > For additional commands, e-mail: > <mailto:soap-user-help@;xml.apache.org> > > > > > > > -- > To unsubscribe, e-mail: <mailto:soap-user-unsubscribe@;xml.apache.org> > For additional commands, e-mail: <mailto:soap-user-help@;xml.apache.org> > > > _________________________________________________________________ > MSN 8 with e-mail virus protection service: 2 months FREE* > http://join.msn.com/?page=features/virus > > > -- > To unsubscribe, e-mail: <mailto:soap-user-unsubscribe@;xml.apache.org> > For additional commands, e-mail: <mailto:soap-user-help@;xml.apache.org> > > -- To unsubscribe, e-mail: <mailto:soap-user-unsubscribe@;xml.apache.org> For additional commands, e-mail: <mailto:soap-user-help@;xml.apache.org>