<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: creating a client in camel for existing web service. in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/creating-a-client-in-camel-for-existing-web-service/m-p/2245958#M31633</link>
    <description>Have you imported the package org.xmlsoap.schemas.soap.envelope in the maven-bundle-plugin configuration ?</description>
    <pubDate>Mon, 22 Oct 2012 13:11:26 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-10-22T13:11:26Z</dc:date>
    <item>
      <title>creating a client in camel for existing web service.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/creating-a-client-in-camel-for-existing-web-service/m-p/2245957#M31632</link>
      <description>I looked through the examples in the package, but none of them seem to show what I want to do. 
&lt;BR /&gt;I have an existing SOAP HTTP service running on TomEE. Regular SOAP clients work fine with this service. 
&lt;BR /&gt;I want to find the easiest way in camel to call operations on this service, in a route. 
&lt;BR /&gt;I'm using Java DSL, not the ESB Studio app. 
&lt;BR /&gt;I am trying to use an example I found online, using SoapJaxbDataFormat 
&lt;BR /&gt;but am getting this error: 
&lt;BR /&gt;Exception in thread "SpringOsgiExtenderThread-18" org.apache.camel.RuntimeCamelException: javax.xml.bind.JAXBException: "org.xmlsoap.schemas.soap.envelope" doesnt contain ObjectFactory.class or jaxb.index 
&lt;BR /&gt;MY SEI: 
&lt;BR /&gt;com.cn.dsa.wsdl.JobControlSoapWs 
&lt;BR /&gt;OPERATION: 
&lt;BR /&gt;The operation I'm testing with doesn't require any params, it just gets a list of current JobControl objects. But there are other operations which require params which I need to learn how to call also. Are these params just added to the Header also?? 
&lt;BR /&gt;My stubs are all in there and include the ObjectFactory class. but not jaxb.index. 
&lt;BR /&gt; 
&lt;BR /&gt;MY ROUTE: 
&lt;BR /&gt;String WS_URI = "cxf://&lt;A href="http://localhost:8081/SfJobControlSoap/webservices/JobControlSoap?serviceClass=com.cn.dsa.wsdl.JobControlSoapWs&amp;amp;dataFormat=MESSAGE" target="_blank"&gt;http://localhost:8081/SfJobControlSoap/webservices/JobControlSoap?serviceClass=com.cn.dsa.wsdl.JobControlSoapWs&amp;amp;dataFormat=MESSAGE&lt;/A&gt;"; 
&lt;BR /&gt; 
&lt;BR /&gt; SoapJaxbDataFormat soapDF = new SoapJaxbDataFormat("com.cn.dsa.wsdl", new ServiceInterfaceStrategy(JobControlSoapWs.class,true)); 
&lt;BR /&gt; 
&lt;BR /&gt; from("jetty: 
&lt;A href="http://0.0.0.0:8181/sftest/getjobcontrols" target="_blank" rel="nofollow noopener noreferrer"&gt;http://0.0.0.0:8181/sftest/getjobcontrols&lt;/A&gt;") 
&lt;BR /&gt; .setHeader("operationName", constant("getSfJobControls")) 
&lt;BR /&gt; .onException(Exception.class) 
&lt;BR /&gt; .handled(true) 
&lt;BR /&gt; .unmarshal(soapDF) 
&lt;BR /&gt; .end() 
&lt;BR /&gt; .marshal(soapDF) 
&lt;BR /&gt; .to(WS_URI) 
&lt;BR /&gt; .unmarshal(soapDF); 
&lt;BR /&gt;my spring config file: 
&lt;BR /&gt;&amp;lt;bean id="sfTestRoute" class="com.cn.dsa.sf.SfTestRouteBuilder"&amp;gt; 
&lt;BR /&gt; &amp;lt;/bean&amp;gt; 
&lt;BR /&gt; &amp;lt;camelContext id="sprtest" xmlns=" 
&lt;A href="http://camel.apache.org/schema/spring" target="_blank" rel="nofollow noopener noreferrer"&gt;http://camel.apache.org/schema/spring&lt;/A&gt;"&amp;gt; 
&lt;BR /&gt; &amp;lt;routeBuilder ref="sfTestRoute"/&amp;gt; 
&lt;BR /&gt; &amp;lt;/camelContext&amp;gt; 
&lt;BR /&gt;Does anyone have a solution to this, or better yet, a working example of calling a web service from a route using cxf.</description>
      <pubDate>Sat, 16 Nov 2024 12:10:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/creating-a-client-in-camel-for-existing-web-service/m-p/2245957#M31632</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2024-11-16T12:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: creating a client in camel for existing web service.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/creating-a-client-in-camel-for-existing-web-service/m-p/2245958#M31633</link>
      <description>Have you imported the package org.xmlsoap.schemas.soap.envelope in the maven-bundle-plugin configuration ?</description>
      <pubDate>Mon, 22 Oct 2012 13:11:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/creating-a-client-in-camel-for-existing-web-service/m-p/2245958#M31633</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-10-22T13:11:26Z</dc:date>
    </item>
  </channel>
</rss>

