|
From: Wahid M. <wa...@fu...> - 2006-09-03 14:29:04
|
Hi,
I asked this question a little while back but never solved it. The
implementation we are using now requires to change the SOAP Action value of
the MIME header. Currently Hermes V1 has a hardcode value of 'ebxml' in the
EbxmlMessage.class file. After changing this value manually our
implementation works, however we need to be able to change this dynamically.
I have tried to change the SOAP_ACTION_VALUE variable from a constant to a
public string and setting its value on the constructor:
public EbxmlMessage(String sAction) throws SOAPException
{
this(MessageFactory.newInstance());
SOAP_ACTION_VALUE = sAction;
this.soapMessage.getMimeHeaders().setHeader(SOAP_ACTION,
sAction);
}
The above has no effect what so ever. This seemed to be such a simple
solution but is proving quite difficult! I cant believe Hermes V1 has no way
changing this value dynamically as this has become a major and essential
part of our implementation.
So what am I doing wrong and how can I solve this?
Thanks,
Wahid
|