Hi,

You may need check callback example shipped with CXF kit.

That demo shows a client creating a callback object by
passing an EndpointReferenceType to the server. The
EndpointReferenceType is then used by the server to call
back on the callback object.

So the server can also play the role as a client, IMO it's exactly same scenario as your requirement.

Freeman
On 2011-8-9, at 下午8:41, GerryChenStarNet wrote:

Hello, everyone.
I have learned CXF for a period and have tried to apply it to realize some functions of TR069 recently. But I came across some problems during the
trial. My problems is:

I have realized a WebService’s Endpoint which handles Inform message from Client and will reply to Client in the form of InformResponse SOAP . The client will then send a HTTP 200Ok in return. After this the Server will send the client a new SOAP request, that is, the Server becomes the Client
while the Client becomes the Server.

Since I would like to add Client function to Webservice so that after
receiving 200OK, CXF will switch Server to Client which will specialize in sending SOAP, how can I apply the HttpRequest and HttpResponse of Server to
Client?

I would appreciate it if someone can give me some advice. Thanks a lot.


--
View this message in context: 
http://cxf.547215.n5.nabble.com/A-question-about-CXF-Client-tp4681892p4681892.html
Sent from the cxf-user mailing list archive at Nabble.com.

---------------------------------------------
Freeman Fang

FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com









Reply via email to