Hi,
we solved our problem as the following. So thanks for your help Aaron.
We created our own handler which is derived from the
org.apache.axis.transport.http.HttpSender.
In this handler we implemented the following:
We overwrote the method invoke and called the handleRequest-Method.
We registere
Did you configureNonBrokenHTTPSender before calling createCall? Make
sure you call createCall after the configuring the HTTPSender because
it overwrites the service config. I don't know why the registration
wouldn't work afterwards in that case. Maybe Axis developers can
chime in here?
You
Tried that but unfortunately it didn't do it for us... Our problem seems to
be that the handler registration, which we do in the generated stub
(call.setClientHandlers( handler, handler );) destroys any reference to previously
registered typemappings in the call. Even if we reregister them they don
Try this, I edited it in this message to remove some inapplicable
things, so your mileage may vary. Just call: myservice =
HTTPTransportHelper.configureNonBrokenHTTPTransport(myservice);
Make SURE to edit HANDLER_CLASS field to refer to YOUR HTTPSender class.
There are technically two ways to
Hi Aaron,
I have implemented a modified HttpSender and I think my problem is to
register this one dynamically. If you could send me the example code, that would be
great-
thanks, benjamin
> By the way, I forgot to mention, if you are sending some "official"
> HTTP headers, Axis will forcibly str
By the way, I forgot to mention, if you are sending some "official"
HTTP headers, Axis will forcibly strip them. The only solution for
now is to either modify the distributed HTTPSender or create your own
modified HTTPSender and register it dynamically (again, I can provide
code illustrating t
Implement a javax.xml.rpc.handler.GenericHandler and register it on
your client (if sending headers) or server (if receiving headers). On
the client side you need to dynamically register your handler through
the handlerregistry of your service. On the server side it is a
matter of editing the
Hi*,
we need to access the http headers and set them using information taken from
the fully formed SOAP envelope before it is posted. We managed to do this by
modifying the HttpSender and assigning it to the call as its handler.
Unfortunately we lose the typemapping for the serializer/deserializer