Hi All,

I'm trying to redirect a call to an end-service in a client-side handler attached to the client. I'm unable to interfere with the client code (it's third party). I'm also left with client's HTTP sender which is custom. The idea is to create an intermediate service which would act as a proxy and would perform additional actions the original client cannot do.

 So I'm in a handler:
 - I'm grabbing the request message and teargetEndpointAddress (from Call)
 - create a new Call object to point to my intermediate service. This
   service has one method: response = forward(request)
 - after setting up the Call object, I would normally invoke(..), but
   I'm in a handler, so I would like to pass a 'request' String (or
   Message) to the Call object.

 How to do it ? One of the brute force ways would be to construct the
request to the proxy service and put the 'request' XML stuff in the
request Message (as a parameter value of the forward(...) operation. Actually can I easily construct a Message to the intermediate service using it's wsdl (and then setRequestMessage(...))?

     any help would be greatly appreciated,
                JM
--
***********************************************************************
*  Janusz Martyniak                  TEL  +44  (0)207 594 7810     *
*  HEP Group, Physics Dept.             FAX: +44  (0)207 823 8830     *
*  Blackett Lab, Imperial College, Prince Consort Rd, LONDON SW7 2BW  *
***********************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to