Re: camel soap endpoint only WSDL but without serviceClass, is it possible?

2018-11-01 Thread Willem Jiang
Yeah, you can just specify the WSDL, but you have to provide more
information such as the service name and endpoint name to let CXF to
look up right endpoint for you.

Please check out this test file[1] as an example.

[1]https://github.com/apache/camel/blob/master/components/camel-cxf/src/test/resources/org/apache/camel/component/cxf/GreeterEndpointCxfMessageWithoutSEIBeans.xml

Willem Jiang

Twitter: willemjiang
Weibo: 姜宁willem
On Mon, Oct 22, 2018 at 10:00 PM Wang Yan  wrote:
>
> camel soap endpoint only using wsdl , not using serviceClass , is it
> possbile?
>
> private static final String SOAP_ENDPOINT_URI = "cxf://
> http://0.0.0.0:9009/create?serviceClass=com.xyz.CreateService;;
>
> I tried like below, but it does not work, it looks like the endpoint really
> expecting serviceClass
>
> private static final String SOAP_ENDPOINT_URI = "cxf://
> http://0.0.0.0:9009/create?wsdlURL=wsdl/createService.wsdl;;
>
> the reason why not using POJO, because the system which providing WSDL is
> old. we just want to using soap  with dataformat as message not as POJO


camel soap endpoint only WSDL but without serviceClass, is it possible?

2018-10-22 Thread Wang Yan
camel soap endpoint only using wsdl , not using serviceClass , is it
possbile?

private static final String SOAP_ENDPOINT_URI = "cxf://
http://0.0.0.0:9009/create?serviceClass=com.xyz.CreateService;;

I tried like below, but it does not work, it looks like the endpoint really
expecting serviceClass

private static final String SOAP_ENDPOINT_URI = "cxf://
http://0.0.0.0:9009/create?wsdlURL=wsdl/createService.wsdl;;

the reason why not using POJO, because the system which providing WSDL is
old. we just want to using soap  with dataformat as message not as POJO