On Thu, 13 Mar 2003 13:23:59 -0500, Erich Oliphant <[EMAIL PROTECTED]> wrote:

Hi,
Is there any way to set the SOAPAction Header via the JAXM ints?

Erich


According to a post i found on forums.java.sun.com:


MimeHeaders mimeHeaders = msg.getMimeHeaders();
mimeHeaders.addHeader("SOAPAction", "\"urn:schemas-microsoft-com:xml- analysis:Execute\"");
msg.saveChanges();


I have some problems with a SOAP client sending messages as text/html, and tried this solution. I had no luck, so I fear that I am having trouble elsewhere. I fyou have any ideas to what I am doing wrong, please let me now.

Sverre




-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | Sverre Magnus Elvenes Joki | [EMAIL PROTECTED] | | Ilevollen 9 | +47 73 52 97 93 | | 7018 TRONDHEIM | +47 99 62 83 61 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Reply via email to