Re: SOAPAction HTTP header

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 UTC