Dave.

Would it work to do this:

msg.getSOAPPart().getMessage().getMessageContext().setSOAPActionURI(

"/ftr/xml/submit");

Steven Gollery

David Orriss Jr wrote:

I'm trying the following code to set a SOAPAction:

MessageFactory msgFactory = MessageFactory.newInstance();

// Create a message
SOAPMessage msg = msgFactory.createMessage();
msg.getSOAPPart().addMimeHeader("SOAPAction","/ftr/xml/submit");

However, the resulting message that gets sent has a blank SOAPAction.
Thoughts?

--
David Orriss Jr.
[EMAIL PROTECTED] http://www.davenet.net
Want ICQ/AIM/MSN ID's? Just Ask...
Linux - Chicken Soup for the Unix Soul





Reply via email to