synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ruwan Linton (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SYNAPSE-609) Synapse strips the quotes from SOAPAction attribute
Date Mon, 01 Mar 2010 02:43:06 GMT

    [ 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


Mime
View raw message