SOAP
"이희승 (Trustin Lee)"
trustin at gmail.com
Sun Aug 16 22:46:55 EDT 2009
On 08/17/2009 11:44 AM, 이희승 (Trustin Lee) wrote:
> Hi Bozo,
>
> On 08/15/2009 03:41 PM, Bozo Juretic wrote:
>> Hi there,
>>
>> are there any examples somewhere, or could someone just provide some
>> hints on implementing SOAP using the existing netty http client? The
>> reason for doing this is that I have a complex netty-based module which
>> talks to different legacy protocols using simple request-response
>> messages, does reconnects, sends heartbeat messages etc. but I would
>> also like to have a capability of connecting to SOAP-based service
>> providers using the same aforementioned general application
>> infrastructure, to make some of high-level tasks that need to be done
>> easier, i.e. initializing all connections, sending heartbeats, getting
>> statistics etc.
>>
>> So the situation is like this:
>>
>> application <-> netty < 1:N > legacy binary protocol OR SOAP/HTTP
>
> I believe there's nothing different between SOAP and other HTTP requests
> and responses as they are all HTTP messages anyway. You could set some
> HTTP headers and set the SOAP envelope as the content of the HTTP
> message and that should be all in most cases. Please let me know if you
> have any particular scenario that is difficult to implement with the
> current HTTP stack in Netty.
BTW, you might be interested in the following code:
http://anonsvn.jboss.org/repos/jbossws/stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/client/
JBossWS has been switched to Netty recently.
HTH,
Trustin
More information about the netty-users
mailing list