You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Jochen Wiedmann <jo...@gmail.com> on 2006/08/16 10:17:47 UTC
Axis 2: Creating SOAP body from SAX driver
Hi,
as I read the Axis 2 implementation (AbstractInOutSyncMessageReceiver),
it allows to stream a response, if the response can be "pulled". In
other words, if the response object behaves like an InputStream.
Unfortunately, in my case this is not an option. I have an object, which
can only push. For example, imagine an XMLFilter or SAX driver.
Is it possible to stream a response in that manner? In other words,
obtain an XMLWriter to which the body may be written?
Thanks,
Jochen
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: Axis 2: Creating SOAP body from SAX driver
Posted by Martin Gainty <mg...@hotmail.com>.
Great example
with regards tp XSLT processor ..Is there a way to specify the XSLT processor or is that hardcoded somewhere?
(I thought it might be an option for BeanWriter?)
Thanks,
M-
*********************************************************************
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy. Thank you.
----- Original Message -----
From: "Davanum Srinivas" <da...@gmail.com>
To: <ax...@ws.apache.org>
Sent: Wednesday, August 16, 2006 8:29 AM
Subject: Re: Axis 2: Creating SOAP body from SAX driver
> Jochen,
>
> plz see the snippets in JaxmeDataBindingTemplate.xsl
>
> -- dims
>
> On 8/16/06, Jochen Wiedmann <jo...@gmail.com> wrote:
>>
>> Hi,
>>
>> as I read the Axis 2 implementation (AbstractInOutSyncMessageReceiver),
>> it allows to stream a response, if the response can be "pulled". In
>> other words, if the response object behaves like an InputStream.
>>
>> Unfortunately, in my case this is not an option. I have an object, which
>> can only push. For example, imagine an XMLFilter or SAX driver.
>>
>> Is it possible to stream a response in that manner? In other words,
>> obtain an XMLWriter to which the body may be written?
>>
>> Thanks,
>>
>> Jochen
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>
>>
>
>
> --
> Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
Re: Axis 2: Creating SOAP body from SAX driver
Posted by Davanum Srinivas <da...@gmail.com>.
Jochen,
plz see the snippets in JaxmeDataBindingTemplate.xsl
-- dims
On 8/16/06, Jochen Wiedmann <jo...@gmail.com> wrote:
>
> Hi,
>
> as I read the Axis 2 implementation (AbstractInOutSyncMessageReceiver),
> it allows to stream a response, if the response can be "pulled". In
> other words, if the response object behaves like an InputStream.
>
> Unfortunately, in my case this is not an option. I have an object, which
> can only push. For example, imagine an XMLFilter or SAX driver.
>
> Is it possible to stream a response in that manner? In other words,
> obtain an XMLWriter to which the body may be written?
>
> Thanks,
>
> Jochen
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org