I seem to find opposing views all over the place on this matter, and, most importantly, in client implementations.

It's sometimes referred to as either 'redundant' to 'severely deprecated'. Most often it's deemed optional.

From SOAP Version 1.2 Part 2
W3C Working Draft 2 Oct 2001

Section 6.1.1
"... SOAPAction's presence in this binding's request message is OPTIONAL. SOAP receivers MAY
use it as a hint to optimise processing, but SHOULD NOT require its presence in order to operate."

The emphasis is the author's, not mine. I guess the trouble is that if a server implementation requires
it, there are some clients tools that don't allow it to be set, hence clients that can't use such a service.

- Ken

On Tuesday, November 26, 2002, at 04:40 PM, [EMAIL PROTECTED] wrote:

It can be argued, I guess, but according to SOAP1.1 spec, for an RPC style
web service, the SOAP Action header is required:

6.1.1 The SOAPAction HTTP Header Field
The SOAPAction HTTP request header field can be used to indicate the intent
of the SOAP HTTP request. The value is a URI identifying the intent. SOAP
places no restrictions on the format or specificity of the URI or that it is
resolvable. An HTTP client MUST use this header field when issuing a SOAP
HTTP Request.

======================================================================= ====

Thomas

-----Original Message-----
From: Chris Forbis [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 26, 2002 5:19 PM
To: '[EMAIL PROTECTED]'
Subject: RE: SOAPAction HTTP header required.


I have seen this before, I have wondered why an action is needed. I have
MANY client tools that will not allow a action to be set, and for those I
had to make a proxy to get the message, then convert it and resend with the
action = "" set.

Am I missing a simple way to turn off this need?

-----Original Message-----
From: Ken Pelletier [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 26, 2002 5:15 PM
To: [EMAIL PROTECTED]
Subject: SOAPAction HTTP header required.

I have a service which I've moved from Apache SOAP to Axis and am now
testing.

Apart from a couple of things, it's working quite well.

I have one instance where a particular client application can no longer
make calls to the service now that it's been placed under Axis, but
could when it was under Apache SOAP.

The client app, which is not under my control, does not send a
SOAPAction HTTP header, so Axis always returns a 'no SOAPAction
header!' fault to the client.

How can I get my service to consumer messages w/o SOAPAction HTTP
headers under Axis?

- Ken





Reply via email to