camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gert Vanthienen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-5331) NPE when using bare SOAP parameter binding with payload mode
Date Mon, 04 Jun 2012 20:40:22 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-5331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gert Vanthienen updated CAMEL-5331:
-----------------------------------

    Attachment: 0001-Fix-for-bare-SOAP-binding-camel-cxf-payload-mode-NPE.patch

I have added a unit test and a (very simplistic) fix for this problem ready in a local git
branch, but because I'm not that familiar with the CXF and camel-cxf codebase, I'm attaching
it to this issue first before committing it so other people can take a look or perhaps suggest
a better solution.
                
> NPE when using bare SOAP parameter binding with payload mode
> ------------------------------------------------------------
>
>                 Key: CAMEL-5331
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5331
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-cxf
>    Affects Versions: 2.8.5, 2.9.2, 2.10.0
>            Reporter: Gert Vanthienen
>            Assignee: Gert Vanthienen
>         Attachments: 0001-Fix-for-bare-SOAP-binding-camel-cxf-payload-mode-NPE.patch
>
>
> When combining a webservice that uses bare SOAP parameter binding with payload mode in
camel-cxf, you get this NullPointerException:
> {noformat}
> java.lang.NullPointerException
>         at org.apache.camel.component.cxf.CxfEndpoint$CamelCxfClientImpl.setParameters(CxfEndpoint.java:877)
>         at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:512)
>         at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:457)
>         at org.apache.camel.component.cxf.CxfProducer.process(CxfProducer.java:112)
>         at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
> ...
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message