You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Song Thuy Nguyen (JIRA)" <ji...@apache.org> on 2010/02/18 10:10:28 UTC

[jira] Created: (SYNAPSE-609) Synapse strips the quotes from SOAPAction attribute

Synapse strips the quotes from SOAPAction attribute
---------------------------------------------------

                 Key: SYNAPSE-609
                 URL: https://issues.apache.org/jira/browse/SYNAPSE-609
             Project: Synapse
          Issue Type: Bug
    Affects Versions: 1.2, 1.3
            Reporter: Song Thuy Nguyen


when a SOAP-message passes synapse the SOAPAction attribute will be stripped off its quotes. It does not seem to be a big thing as my JAX-WS web service still process the request, but complains:

 

17.02.2010 23:28:44 com.sun.xml.internal.ws.transport.http.HttpAdapter fixQuotesAroundSoapAction

WARNUNG: Received WS-I BP non-conformant Unquoted SoapAction HTTP header: addx

 

 

##############  my synapse.xml  ################

 

<definitions xmlns="http://ws.apache.org/ns/synapse">

 

    <in>

        <!-- Log all messages passing through -->

        <log level="full"/>

            <send/>

    </in>

    <out>

        <log level="full"/>

        <send/>

    </out>

</definitions>

 

 

############ SOAP-message get into synapse ###########

 

POST http://127.0.0.1:9876/soap/add1.add1HttpSoap11Endpoint HTTP/1.1

Content-Type: text/xml; charset=UTF-8

SOAPAction: "addx"

User-Agent: Axis2

Host: 127.0.0.1:9876

Proxy-Connection: Keep-Alive

Transfer-Encoding: chunked

 

2de

<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header><addr:To xmlns:addr="http://www.w3.org/2005/08/addressing">http://127.0.0.1:9876/soap/add1.add1HttpSoap11Endpoint</addr:To><addr:Action xmlns:addr="http://www.w3.org/2005/08/addressing">addx</addr:Action><addr:ReplyTo xmlns:addr="http://www.w3.org/2005/08/addressing"><addr:Address>http://www.w3.org/2005/08/addressing/anonymous</addr:Address></addr:ReplyTo><addr:MessageID xmlns:addr="http://www.w3.org/2005/08/addressing">uuid:hqejbhcnphr51wo3bwjqam</addr:MessageID></soapenv:Header><soapenv:Body><addx xmlns="http://adder.services/">

  <arg0 xmlns="">0</arg0>

</addx></soapenv:Body></soapenv:Envelope>

0

 

##############  SOAP-message leaving synapse ################

 

POST http://127.0.0.1:9876/soap/add1.add1HttpSoap11Endpoint HTTP/1.1

Host: 127.0.0.1:9876

Proxy-Connection: Keep-Alive

SOAPAction: addx

Content-Type: text/xml; charset=UTF-8

Transfer-Encoding: chunked

Connection: Keep-Alive

User-Agent: Synapse-HttpComponents-NIO

 

fb

<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header /><soapenv:Body><addx xmlns="http://adder.services/">

  <arg0 xmlns="">0</arg0>

</addx></soapenv:Body></soapenv:Envelope>

0

 

##############################################################

 

notice: first it was SOAPAction = "addx", then SOAPAction = addx


-- 
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: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Resolved: (SYNAPSE-609) Synapse strips the quotes from SOAPAction attribute

Posted by "Ruwan Linton (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ruwan Linton resolved SYNAPSE-609.
----------------------------------

       Resolution: Fixed
    Fix Version/s: NIGHTLY

Fixed for the trunk and will be available on the branch as well.

Thanks,
Ruwan

> Synapse strips the quotes from SOAPAction attribute
> ---------------------------------------------------
>
>                 Key: SYNAPSE-609
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-609
>             Project: Synapse
>          Issue Type: Bug
>    Affects Versions: 1.2, 1.3
>            Reporter: Song Thuy Nguyen
>            Assignee: Ruwan Linton
>             Fix For: NIGHTLY
>
>
> when a SOAP-message passes synapse the SOAPAction attribute will be stripped off its quotes. It does not seem to be a big thing as my JAX-WS web service still process the request, but complains:
>  
> 17.02.2010 23:28:44 com.sun.xml.internal.ws.transport.http.HttpAdapter fixQuotesAroundSoapAction
> WARNUNG: Received WS-I BP non-conformant Unquoted SoapAction HTTP header: addx
>  
>  
> ##############  my synapse.xml  ################
>  
> <definitions xmlns="http://ws.apache.org/ns/synapse">
>  
>     <in>
>         <!-- Log all messages passing through -->
>         <log level="full"/>
>             <send/>
>     </in>
>     <out>
>         <log level="full"/>
>         <send/>
>     </out>
> </definitions>
>  
>  
> ############ SOAP-message get into synapse ###########
>  
> POST http://127.0.0.1:9876/soap/add1.add1HttpSoap11Endpoint HTTP/1.1
> Content-Type: text/xml; charset=UTF-8
> SOAPAction: "addx"
> User-Agent: Axis2
> Host: 127.0.0.1:9876
> Proxy-Connection: Keep-Alive
> Transfer-Encoding: chunked
>  
> 2de
> <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header><addr:To xmlns:addr="http://www.w3.org/2005/08/addressing">http://127.0.0.1:9876/soap/add1.add1HttpSoap11Endpoint</addr:To><addr:Action xmlns:addr="http://www.w3.org/2005/08/addressing">addx</addr:Action><addr:ReplyTo xmlns:addr="http://www.w3.org/2005/08/addressing"><addr:Address>http://www.w3.org/2005/08/addressing/anonymous</addr:Address></addr:ReplyTo><addr:MessageID xmlns:addr="http://www.w3.org/2005/08/addressing">uuid:hqejbhcnphr51wo3bwjqam</addr:MessageID></soapenv:Header><soapenv:Body><addx xmlns="http://adder.services/">
>   <arg0 xmlns="">0</arg0>
> </addx></soapenv:Body></soapenv:Envelope>
> 0
>  
> ##############  SOAP-message leaving synapse ################
>  
> POST http://127.0.0.1:9876/soap/add1.add1HttpSoap11Endpoint HTTP/1.1
> Host: 127.0.0.1:9876
> Proxy-Connection: Keep-Alive
> SOAPAction: addx
> Content-Type: text/xml; charset=UTF-8
> Transfer-Encoding: chunked
> Connection: Keep-Alive
> User-Agent: Synapse-HttpComponents-NIO
>  
> fb
> <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header /><soapenv:Body><addx xmlns="http://adder.services/">
>   <arg0 xmlns="">0</arg0>
> </addx></soapenv:Body></soapenv:Envelope>
> 0
>  
> ##############################################################
>  
> notice: first it was SOAPAction = "addx", then SOAPAction = addx

-- 
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: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Commented: (SYNAPSE-609) Synapse strips the quotes from SOAPAction attribute

Posted by "Ruwan Linton (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12838688#action_12838688 ] 

Ruwan Linton commented on SYNAPSE-609:
--------------------------------------

Hi Song,

Thanks for reporting this with a well explanatory description, we will get this fixed.

Thanks,
Ruwan

> Synapse strips the quotes from SOAPAction attribute
> ---------------------------------------------------
>
>                 Key: SYNAPSE-609
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-609
>             Project: Synapse
>          Issue Type: Bug
>    Affects Versions: 1.2, 1.3
>            Reporter: Song Thuy Nguyen
>            Assignee: Ruwan Linton
>
> when a SOAP-message passes synapse the SOAPAction attribute will be stripped off its quotes. It does not seem to be a big thing as my JAX-WS web service still process the request, but complains:
>  
> 17.02.2010 23:28:44 com.sun.xml.internal.ws.transport.http.HttpAdapter fixQuotesAroundSoapAction
> WARNUNG: Received WS-I BP non-conformant Unquoted SoapAction HTTP header: addx
>  
>  
> ##############  my synapse.xml  ################
>  
> <definitions xmlns="http://ws.apache.org/ns/synapse">
>  
>     <in>
>         <!-- Log all messages passing through -->
>         <log level="full"/>
>             <send/>
>     </in>
>     <out>
>         <log level="full"/>
>         <send/>
>     </out>
> </definitions>
>  
>  
> ############ SOAP-message get into synapse ###########
>  
> POST http://127.0.0.1:9876/soap/add1.add1HttpSoap11Endpoint HTTP/1.1
> Content-Type: text/xml; charset=UTF-8
> SOAPAction: "addx"
> User-Agent: Axis2
> Host: 127.0.0.1:9876
> Proxy-Connection: Keep-Alive
> Transfer-Encoding: chunked
>  
> 2de
> <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header><addr:To xmlns:addr="http://www.w3.org/2005/08/addressing">http://127.0.0.1:9876/soap/add1.add1HttpSoap11Endpoint</addr:To><addr:Action xmlns:addr="http://www.w3.org/2005/08/addressing">addx</addr:Action><addr:ReplyTo xmlns:addr="http://www.w3.org/2005/08/addressing"><addr:Address>http://www.w3.org/2005/08/addressing/anonymous</addr:Address></addr:ReplyTo><addr:MessageID xmlns:addr="http://www.w3.org/2005/08/addressing">uuid:hqejbhcnphr51wo3bwjqam</addr:MessageID></soapenv:Header><soapenv:Body><addx xmlns="http://adder.services/">
>   <arg0 xmlns="">0</arg0>
> </addx></soapenv:Body></soapenv:Envelope>
> 0
>  
> ##############  SOAP-message leaving synapse ################
>  
> POST http://127.0.0.1:9876/soap/add1.add1HttpSoap11Endpoint HTTP/1.1
> Host: 127.0.0.1:9876
> Proxy-Connection: Keep-Alive
> SOAPAction: addx
> Content-Type: text/xml; charset=UTF-8
> Transfer-Encoding: chunked
> Connection: Keep-Alive
> User-Agent: Synapse-HttpComponents-NIO
>  
> fb
> <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header /><soapenv:Body><addx xmlns="http://adder.services/">
>   <arg0 xmlns="">0</arg0>
> </addx></soapenv:Body></soapenv:Envelope>
> 0
>  
> ##############################################################
>  
> notice: first it was SOAPAction = "addx", then SOAPAction = addx

-- 
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: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Assigned: (SYNAPSE-609) Synapse strips the quotes from SOAPAction attribute

Posted by "Ruwan Linton (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ruwan Linton reassigned SYNAPSE-609:
------------------------------------

    Assignee: Ruwan Linton

> Synapse strips the quotes from SOAPAction attribute
> ---------------------------------------------------
>
>                 Key: SYNAPSE-609
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-609
>             Project: Synapse
>          Issue Type: Bug
>    Affects Versions: 1.2, 1.3
>            Reporter: Song Thuy Nguyen
>            Assignee: Ruwan Linton
>
> when a SOAP-message passes synapse the SOAPAction attribute will be stripped off its quotes. It does not seem to be a big thing as my JAX-WS web service still process the request, but complains:
>  
> 17.02.2010 23:28:44 com.sun.xml.internal.ws.transport.http.HttpAdapter fixQuotesAroundSoapAction
> WARNUNG: Received WS-I BP non-conformant Unquoted SoapAction HTTP header: addx
>  
>  
> ##############  my synapse.xml  ################
>  
> <definitions xmlns="http://ws.apache.org/ns/synapse">
>  
>     <in>
>         <!-- Log all messages passing through -->
>         <log level="full"/>
>             <send/>
>     </in>
>     <out>
>         <log level="full"/>
>         <send/>
>     </out>
> </definitions>
>  
>  
> ############ SOAP-message get into synapse ###########
>  
> POST http://127.0.0.1:9876/soap/add1.add1HttpSoap11Endpoint HTTP/1.1
> Content-Type: text/xml; charset=UTF-8
> SOAPAction: "addx"
> User-Agent: Axis2
> Host: 127.0.0.1:9876
> Proxy-Connection: Keep-Alive
> Transfer-Encoding: chunked
>  
> 2de
> <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header><addr:To xmlns:addr="http://www.w3.org/2005/08/addressing">http://127.0.0.1:9876/soap/add1.add1HttpSoap11Endpoint</addr:To><addr:Action xmlns:addr="http://www.w3.org/2005/08/addressing">addx</addr:Action><addr:ReplyTo xmlns:addr="http://www.w3.org/2005/08/addressing"><addr:Address>http://www.w3.org/2005/08/addressing/anonymous</addr:Address></addr:ReplyTo><addr:MessageID xmlns:addr="http://www.w3.org/2005/08/addressing">uuid:hqejbhcnphr51wo3bwjqam</addr:MessageID></soapenv:Header><soapenv:Body><addx xmlns="http://adder.services/">
>   <arg0 xmlns="">0</arg0>
> </addx></soapenv:Body></soapenv:Envelope>
> 0
>  
> ##############  SOAP-message leaving synapse ################
>  
> POST http://127.0.0.1:9876/soap/add1.add1HttpSoap11Endpoint HTTP/1.1
> Host: 127.0.0.1:9876
> Proxy-Connection: Keep-Alive
> SOAPAction: addx
> Content-Type: text/xml; charset=UTF-8
> Transfer-Encoding: chunked
> Connection: Keep-Alive
> User-Agent: Synapse-HttpComponents-NIO
>  
> fb
> <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header /><soapenv:Body><addx xmlns="http://adder.services/">
>   <arg0 xmlns="">0</arg0>
> </addx></soapenv:Body></soapenv:Envelope>
> 0
>  
> ##############################################################
>  
> notice: first it was SOAPAction = "addx", then SOAPAction = addx

-- 
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: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Commented: (SYNAPSE-609) Synapse strips the quotes from SOAPAction attribute

Posted by "Ruwan Linton (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12839534#action_12839534 ] 

Ruwan Linton commented on SYNAPSE-609:
--------------------------------------

This has been caused by not formatting the SOAPAction properly with the formatter, which has been fixed on the trunk.

> Synapse strips the quotes from SOAPAction attribute
> ---------------------------------------------------
>
>                 Key: SYNAPSE-609
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-609
>             Project: Synapse
>          Issue Type: Bug
>    Affects Versions: 1.2, 1.3
>            Reporter: Song Thuy Nguyen
>            Assignee: Ruwan Linton
>             Fix For: NIGHTLY
>
>
> when a SOAP-message passes synapse the SOAPAction attribute will be stripped off its quotes. It does not seem to be a big thing as my JAX-WS web service still process the request, but complains:
>  
> 17.02.2010 23:28:44 com.sun.xml.internal.ws.transport.http.HttpAdapter fixQuotesAroundSoapAction
> WARNUNG: Received WS-I BP non-conformant Unquoted SoapAction HTTP header: addx
>  
>  
> ##############  my synapse.xml  ################
>  
> <definitions xmlns="http://ws.apache.org/ns/synapse">
>  
>     <in>
>         <!-- Log all messages passing through -->
>         <log level="full"/>
>             <send/>
>     </in>
>     <out>
>         <log level="full"/>
>         <send/>
>     </out>
> </definitions>
>  
>  
> ############ SOAP-message get into synapse ###########
>  
> POST http://127.0.0.1:9876/soap/add1.add1HttpSoap11Endpoint HTTP/1.1
> Content-Type: text/xml; charset=UTF-8
> SOAPAction: "addx"
> User-Agent: Axis2
> Host: 127.0.0.1:9876
> Proxy-Connection: Keep-Alive
> Transfer-Encoding: chunked
>  
> 2de
> <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header><addr:To xmlns:addr="http://www.w3.org/2005/08/addressing">http://127.0.0.1:9876/soap/add1.add1HttpSoap11Endpoint</addr:To><addr:Action xmlns:addr="http://www.w3.org/2005/08/addressing">addx</addr:Action><addr:ReplyTo xmlns:addr="http://www.w3.org/2005/08/addressing"><addr:Address>http://www.w3.org/2005/08/addressing/anonymous</addr:Address></addr:ReplyTo><addr:MessageID xmlns:addr="http://www.w3.org/2005/08/addressing">uuid:hqejbhcnphr51wo3bwjqam</addr:MessageID></soapenv:Header><soapenv:Body><addx xmlns="http://adder.services/">
>   <arg0 xmlns="">0</arg0>
> </addx></soapenv:Body></soapenv:Envelope>
> 0
>  
> ##############  SOAP-message leaving synapse ################
>  
> POST http://127.0.0.1:9876/soap/add1.add1HttpSoap11Endpoint HTTP/1.1
> Host: 127.0.0.1:9876
> Proxy-Connection: Keep-Alive
> SOAPAction: addx
> Content-Type: text/xml; charset=UTF-8
> Transfer-Encoding: chunked
> Connection: Keep-Alive
> User-Agent: Synapse-HttpComponents-NIO
>  
> fb
> <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header /><soapenv:Body><addx xmlns="http://adder.services/">
>   <arg0 xmlns="">0</arg0>
> </addx></soapenv:Body></soapenv:Envelope>
> 0
>  
> ##############################################################
>  
> notice: first it was SOAPAction = "addx", then SOAPAction = addx

-- 
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: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org