You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Jackson Thompson (JIRA)" <ji...@apache.org> on 2017/01/18 19:40:26 UTC
[jira] [Comment Edited] (CXF-7214) Login Register Changing
reply-to causes NPE in MessageSenderInterceptor.java
[ https://issues.apache.org/jira/browse/CXF-7214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15828573#comment-15828573 ]
Jackson Thompson edited comment on CXF-7214 at 1/18/17 7:40 PM:
----------------------------------------------------------------
The is the request to use that causes the NPE.
<Envelope xmlns="http://www.w3.org/2003/05/soap-envelope" xmlns:gen="http://www.codecentric.de/namespace/weatherservice/general">
<soap:Header xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:wsa="http://www.w3.org/2005/08/addressing"
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
xmlns:htng="http://htng.org/PWSWG/2007/02/AsyncHeaders">
<wsa:MessageID>54469</wsa:MessageID>
<wsa:To>https://integcert.synxis.com/interface/ota2010Av2/OTA2010A.svc</wsa:To>
<wsa:Action>http://htng.org/PWSWG/2010/12/RatePlan_SubmitRequest</wsa:Action>
<wsa:ReplyTo>
<wsa:Address>http://www.w3.org/2005/08/addressing/role/anonymous</wsa:Address>
</wsa:ReplyTo>
<htng:ReplyTo>
<wsa:Address>http://localhost:8082/test</wsa:Address>
</htng:ReplyTo>
<soap:Header/>
<soap:Body>
<gen:GetCityForecastByZIP>
<!--Optional:-->
<gen:ForecastRequest>
<!--Optional:-->
<gen:ZIP>32779</gen:ZIP>
<gen:flagcolor></gen:flagcolor>
<gen:productName></gen:productName>
<gen:ForecastCustomer>
<gen:Age>25</gen:Age>
<gen:Contribution></gen:Contribution>
<gen:MethodOfPayment></gen:MethodOfPayment>
</gen:ForecastCustomer>
</gen:ForecastRequest>
</gen:GetCityForecastByZIP>
</soap:Body>
</soap:Envelope>
was (Author: jaxent):
The is the request to use that causes the NPE.
<Envelope xmlns="http://www.w3.org/2003/05/soap-envelope">
<soap:Header xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:wsa="http://www.w3.org/2005/08/addressing"
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
xmlns:htng="http://htng.org/PWSWG/2007/02/AsyncHeaders">
<wsa:MessageID>54469</wsa:MessageID>
<wsa:To>https://integcert.synxis.com/interface/ota2010Av2/OTA2010A.svc</wsa:To>
<wsa:Action>http://htng.org/PWSWG/2010/12/RatePlan_SubmitRequest</wsa:Action>
<wsa:ReplyTo>
<wsa:Address>http://www.w3.org/2005/08/addressing/role/anonymous</wsa:Address>
</wsa:ReplyTo>
<htng:ReplyTo>
<wsa:Address>http://localhost:8082/test</wsa:Address>
</htng:ReplyTo>
<soap:Header/>
<Body>
<soapenv:Body>
<gen:GetCityForecastByZIP>
<!--Optional:-->
<gen:ForecastRequest>
<!--Optional:-->
<gen:ZIP>32779</gen:ZIP>
<gen:flagcolor></gen:flagcolor>
<gen:productName></gen:productName>
<gen:ForecastCustomer>
<gen:Age>25</gen:Age>
<gen:Contribution></gen:Contribution>
<gen:MethodOfPayment></gen:MethodOfPayment>
</gen:ForecastCustomer>
</gen:ForecastRequest>
</gen:GetCityForecastByZIP>
</soapenv:Body>
</soapenv:Envelope>
> Login Register Changing reply-to causes NPE in MessageSenderInterceptor.java
> ------------------------------------------------------------------------------
>
> Key: CXF-7214
> URL: https://issues.apache.org/jira/browse/CXF-7214
> Project: CXF
> Issue Type: Bug
> Components: WS-* Components
> Affects Versions: 3.1.9
> Environment: java 1.8 , Spring Boot 1.4.0 , WIndows 10
> Reporter: Jackson Thompson
> Attachments: pom.xml, src.zip
>
>
> I am changing the reply-to in an interceptor when I get an anonymous reply-to. When I do, I get an NPE at MessageSenderInterceptor.java:46. If I replace the wsa:reply-to header in the test request it responses correctly. I can pull the map latter in the can and the reply-to header is set to my new uri.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)