W3C home > Mailing lists > Public > www-forms@w3.org > October 2005

Re: SOAPAction HTTP header

From: Robert Koberg <rob@koberg.com>
Date: Wed, 26 Oct 2005 03:53:11 -0400
Message-ID: <435F35E7.60509@koberg.com>
To: Allan Beaufour <allan@beaufour.dk>
CC: www-forms@w3.org

Allan Beaufour wrote:
 > On Tuesday October 25 2005 18:28, Florian Lacoste wrote:
 >
 >>I'm trying to access a web service using xforms. The service run on Axis
 >>in message mode and I'm using chiba-web for the xforms part. The
 >>instance I submit is the soap:Envelope with an xml request inside the
 >>soap:Body.
 >>
 >>It doesn't work and I think it comes from the fact that I've no
 >>SOAPAction header in the HTTP request sent by chiba.
 >>
 >>Does anyone know if there is a way (direct or not) to specify it ?

I have used Saaj:

MessageFactory msgFactory = MessageFactory.newInstance();
message = msgFactory.createMessage();
message.getMimeHeaders().setHeader("SoapAction",soapAction);

best,
-Rob
Received on Wednesday, 26 October 2005 07:54:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:22:02 GMT