Aha. I see you are basically polling for responses. There are two
approaches I can point you at.

The first is WS-MakeConnection which is implemented in Sandesha2:
http://docs.oasis-open.org/ws-rx/wsmc/200702/wsmc-1.0-spec-os-01.pdf

The second is to use WS-Transfer which we did in the PEPPOL Lightweight Profile:
http://bit.ly/ssobe

PEPPOL chose to use the WS-Transfer because its basically  "just" a
WSDL so its easy to implement this approach in any stack whereas WS-MC
is pretty neat but its based on deeper integration with a stack.

In theory, we could re-write the Axis2 HTTP transport to do something "Comet"-y
http://en.wikipedia.org/wiki/Comet_(programming) and support multiple
responses on a single HTTP channel. That would be pretty nice, but I
don't think it would interoperate as I haven't seen anyone do anything
like that with SOAP before. It would be a nice use of the NIO HTTP
transport.

Paul



On Thu, Jun 18, 2009 at 8:27 AM, Senthil Sona<sws...@cisco.com> wrote:
>
> Hi Paul,
>
>      The requirement is, when server sends a response to the client it
> checks in the database whether any pending response is present to be send.
> If yes, then it takes those responses also and send all the responses  as
> one response. The pending responses present in the database is also a soap
> envelope response.
>
> Thanks,
> Swapna Soni.
>
> Binod Garg wrote:
>>
>> Can you please explain the need of having multiple soap envelopes. If you
>> need to send binary content , then you can send it as an separate body
>> part(attachment).
>>
>> On Thu, Jun 18, 2009 at 10:54 AM, Senthil Sona <sws...@cisco.com> wrote:
>>
>>>
>>> Hi Team,
>>>
>>>    I have a requirement to send more than one soap envelope in one
>>> request.how How can i do this?
>>>
>>> Thanks,
>>> Swapna Soni.
>>> --
>>> View this message in context:
>>> http://www.nabble.com/How-to-send-more-than-one-soap-envelope-in-one-request-tp24086583p24086583.html
>>> Sent from the Axis - Dev mailing list archive at Nabble.com.
>>>
>>>
>>
>>
>
> --
> View this message in context: 
> http://www.nabble.com/How-to-send-more-than-one-soap-envelope-in-one-request-tp24086583p24087787.html
> Sent from the Axis - Dev mailing list archive at Nabble.com.
>
>



-- 
Paul Fremantle
Co-Founder and CTO, WSO2
Apache Synapse PMC Chair
OASIS WS-RX TC Co-chair

blog: http://pzf.fremantle.org
p...@wso2.com

"Oxygenating the Web Service Platform", www.wso2.com

Reply via email to