axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexis Humphreys (JIRA)" <>
Subject [jira] Created: (AXIS2-4115) Incorrect wsaAction has embedded double quotes in header
Date Fri, 31 Oct 2008 19:57:44 GMT
Incorrect wsaAction has embedded double quotes in header

                 Key: AXIS2-4115
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: Addressing
    Affects Versions: 1.4.1
         Environment: Windows XP Pro SP3
NetBeans 6.5 RC2
            Reporter: Alexis Humphreys
            Priority: Blocker

I am using NetBeans (6.5 RC2 but earlier versions give same problem) and invoking web service
from a BPEL process. I am using the included Stock Quote example service included as part
of Axis2 for my testing. When invoking the service, I get an exception:

[WARN] triggerActionMismatchFault: messageContext: [MessageContext: logID=urn:uuid:518E4F32694CC6E6CA1225402791676]
soapAction=urn:getPrice wsaAction="urn:getPrice"
[ERROR] A header representing a Message Addressing Property is not valid and the message cannot
be processed
org.apache.axis2.AxisFault: A header representing a Message Addressing Property is not valid
and the message cannot be processed
	at org.apache.axis2.addressing.AddressingFaultsHelper.triggerAddressingFault(
	at org.apache.axis2.addressing.AddressingFaultsHelper.triggerActionMismatchFault(
	at org.apache.axis2.handlers.addressing.AddressingInHandler.extractActionInformation(
	at org.apache.axis2.handlers.addressing.AddressingInHandler.extractAddressingInformation(
	at org.apache.axis2.handlers.addressing.AddressingInHandler.invoke(
	at org.apache.axis2.engine.Phase.invoke(
	at org.apache.axis2.engine.AxisEngine.invoke(
	at org.apache.axis2.engine.AxisEngine.receive(
	at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(
	at org.apache.axis2.transport.http.AxisServlet.doPost(
	at javax.servlet.http.HttpServlet.service(

The relevant portion of the WSDL is:

    <wsdl:portType name="StockQuoteServicePortType">
        <wsdl:operation name="getPrice">
            <wsdl:input message="axis2:getPriceRequest" wsaw:Action="urn:getPrice"/>
            <wsdl:output message="axis2:getPriceResponse" wsaw:Action="urn:getPriceResponse"/>
        <wsdl:operation name="update">
            <wsdl:input message="axis2:updateRequest" wsaw:Action="urn:update"/>

    <wsdl:binding name="StockQuoteServiceSoap11Binding" type="axis2:StockQuoteServicePortType">
        <soap:binding transport="" style="document"/>
        <wsdl:operation name="getPrice">
            <soap:operation soapAction="urn:getPrice" style="document"/>
                <soap:body use="literal"/>
                <soap:body use="literal"/>
        <wsdl:operation name="update">
            <soap:operation soapAction="urn:update" style="document"/>
                <soap:body use="literal"/>

As you can see, the "getPrice" operation specifies a soapAction of "urn:getPrice". The exception
complains that the soapAction is not same as wsaAction. Indeed the wsaAction has double quotes
around it, while soapAction does not.

Note that regardless of the wsaw:action value in the WSDL, the wsaAction is always the soapAction
but enclosed in double quotes.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message