Using Service and Call you are making your code portable between any JAX
RPC based implementation of Web Services. That means, if you switch away
from Axis to some other JAX RPC implementation of Web Services, your
client code works (should work) without any code changes.
Using Stubs your clien
e, by using a servlet
filter or maybe an Axis handler. This solution would be conceptually
similar to Spring/Hibernate's OpenSessionInViewFilter, but is more
complicated to implement.
Regards,
Andreas
On 12 Mar 2008, at 18:56, Chandolu, Yuva wrote:
> Is there a work aroun
I get the error java.io.IOException: End of stream encountered before
final boundary marker on the client side if I use DataHandler
(InputStream, String) on the service side.
From: Chandolu, Yuva
Sent: Wednesday, March 12, 2008 2:04 PM
To: axis-user
: Question regarding attachments with Axis and DataHandler
You could create DataHandler directly from InputStream using DataHandler
(InputStream, String) constructor.
-Original Message-
From: Chandolu, Yuva [mailto:[EMAIL PROTECTED]
Sent: 12 March 2008 17:56
To: axis-user
o a
ByteArrayOutputStream and then copy it to a byte array. It is
therefore not surprising that you run out of memory.
Andreas
On 11 Mar 2008, at 21:42, Chandolu, Yuva wrote:
> Hi,
>
> I am trying to replace one servlet serving huge files by a
> webservice. When request comes in, th
ore not surprising that you run out of memory.
Andreas
On 11 Mar 2008, at 21:42, Chandolu, Yuva wrote:
> Hi,
>
> I am trying to replace one servlet serving huge files by a
> webservice. When request comes in, the servlet opens InputStream to
> the file blob in database, r
Hi,
I am trying to replace one servlet serving huge files by a webservice.
When request comes in, the servlet opens InputStream to the file blob in
database, read from the input stream and write to the http output
stream. When client starts pulling the data it comes straight from the
input stream
Hi,
I have a web service that uses SimpleSessionHandler to maintain
sessions. I had the following lines in my service description in
server-config.wsdd.
I also created the client-wsdd like following lines in it.