The value of the SOAPAction HTTP header is a URI.
It may be (and often is) different from the endpoint URL (i.e.,
targetEndpointAddress).
The value of the SOAPAction URI is specified in the
definitions/binding/operation element in the WSDL in this line:
<soap:operation soapAction="urn:service:operation"/>
The SOAPAction URI does not need to resolve to a physical location. It
is simply a name used to indicate what action the service should
perform.
The value of the endpoint URL is specified in the
definitions/service/port element in the WSDL in this line:
<soap:address
location="http://company.com:8080/axis2/services/service-name"/>
The endpoint URL must resolve to a physical location.
Anne
On 9/18/06, Erik Norgaard <[EMAIL PROTECTED]> wrote:
Hi:
I have a project that ought to be simple straight forward, but I'm lost
in the documentation. Any links to useful documentation is highly
appreciated.
I need to write a simple client application, that uses the different
levels of abstraction offered by Axis: RPC, Document, Wrapped and
message. We know there are problems with Axis serialization when used
with XMLDsig - but I need to figure out if there is a (any) way that
Axis can be used for integration.
The examples in the guides seem to assume that you already know what
you're doing - in which case they are of no need - or they are too
simple to give any idea of how to solve a real problem. And the API
documentation seems to be stub auto-generated, just one example:
"getSOAPActionURI
public java.lang.String getSOAPActionURI()
Get the soapAction URI.
Returns:
the curretn SOAP action URI"
First: Evidently this documentation contains absolutely no additional
info than is included in the call it self. Secondly, what on earth is
the "SOAP action URI"?
I know what's an URI, I've heard of SOAP action, as a parameter in the
http header. But how is the SOAP action URI different from the URI set
with the setTargetEndpointAddress?
How do I set the action in the http header? The useSoapAction is boolean
I suppose whether or not to include it in the http header? But, there
appear to be no way to set it.
Thanks, Erik
--
Ph: +34.666334818 web: http://www.locolomo.org
X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt
Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]