[
https://issues.apache.org/jira/browse/CAMEL-10607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15856803#comment-15856803
]
ASF GitHub Bot commented on CAMEL-10607:
GitHub user anoordover opened a pull request:
https://github.com/apache/camel/pull/1451
CAMEL-10607
I think getParams should return empty array when body is null.
This solves https://issues.apache.org/jira/browse/CAMEL-10607
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/anoordover/camel CAMEL-10607
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/1451.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1451
> camel-cxf - Allow to call no-arg methods more easier
>
>
> Key: CAMEL-10607
> URL: https://issues.apache.org/jira/browse/CAMEL-10607
> Project: Camel
> Issue Type: Improvement
> Components: camel-cxf
>Reporter: Claus Ibsen
>Priority: Minor
> Fix For: Future
>
>
> See SO
> http://stackoverflow.com/questions/41164377/calling-no-params-webservice-operation-from-camel-route-using-cxf
> We could detect that it expect 0 parameters and then don't do any parameter
> mappings so the service can be easily called.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)