Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to call external webservice using Fuse ESB and cxf
    primarykey
    data
    text
    <p>I would like to call an external web service within a route in Fuse ESB. By the looks of things you should use cxf to do this. I have code to add to my POM file, as follows. Maven does not like this. It complains that "Plugin execution not covered by lifecycle configuration: org.apache.cxf:cxf-codegen-plugin:2.6.0:wsdl2java (execution: generate-sources, phase: generate-sources)". And it does not matter what version I use - I have tried them all. Alos, when Maven builds the error I get is "'UTF-8' uses 1 bytes per character; but physical encoding appeared to use 2". Something is wrong, but what? This code is from Fusesource as an example. Has anyone got this working? My WSDL looks fine. All I want to do is call a webservice, it cannot be this hard, surely!!!</p> <pre><code>&lt;plugin&gt; &lt;groupId&gt;org.apache.cxf&lt;/groupId&gt; &lt;artifactId&gt;cxf-codegen-plugin&lt;/artifactId&gt; &lt;version&gt;2.6.0&lt;/version&gt; &lt;executions&gt; &lt;execution&gt; &lt;id&gt;generate-sources&lt;/id&gt; &lt;phase&gt;generate-sources&lt;/phase&gt; &lt;configuration&gt; &lt;!-- Maven auto-compiles any source files under target/generated-sources/ --&gt; &lt;sourceRoot&gt;${basedir}/target/generated-sources/jaxws&lt;/sourceRoot&gt; &lt;wsdlOptions&gt; &lt;wsdlOption&gt; &lt;wsdl&gt;C:/bolt-poc/src/main/resources/WSDL/esbWebService.wsdl&lt;/wsdl&gt; &lt;/wsdlOption&gt; &lt;/wsdlOptions&gt; &lt;/configuration&gt; &lt;goals&gt; &lt;goal&gt;wsdl2java&lt;/goal&gt; &lt;/goals&gt; &lt;/execution&gt; &lt;/executions&gt; &lt;/plugin&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload