I currently have a client which I have generated from a wsdl using clientgen. (I am using Weblogic Server 10.0)
What I am ultimately trying to do is modify the headers of the SOAP messages being sent by this client to include an element with a property set to that of a variable I have in my code which uses the client.
It seems the best way to modify a SOAP header is to use a SOAP handler, which I have created and wired in with a handlerchain using the handlerChainFile property on clientgen.
I'm now really stumped as none of the documentation explains how I can actually pass a variable at runtime to this SOAP handler?
Any suggestions to achieve this would be great, I am also very open to suggestions if there's a better way of modifying the soap header than using a handler.
Many thanks,
Ed.
What I am ultimately trying to do is modify the headers of the SOAP messages being sent by this client to include an element with a property set to that of a variable I have in my code which uses the client.
It seems the best way to modify a SOAP header is to use a SOAP handler, which I have created and wired in with a handlerchain using the handlerChainFile property on clientgen.
I'm now really stumped as none of the documentation explains how I can actually pass a variable at runtime to this SOAP handler?
Any suggestions to achieve this would be great, I am also very open to suggestions if there's a better way of modifying the soap header than using a handler.
Many thanks,
Ed.