You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2014/12/01 03:25:12 UTC

[jira] [Created] (CAMEL-8096) CxfEndpoint schema should support to publishEndpointUrl from the element attribute

Willem Jiang created CAMEL-8096:
-----------------------------------

             Summary: CxfEndpoint schema should support to publishEndpointUrl from the element attribute
                 Key: CAMEL-8096
                 URL: https://issues.apache.org/jira/browse/CAMEL-8096
             Project: Camel
          Issue Type: Bug
          Components: camel-cxf
    Affects Versions: 2.14.0, 2.13.3
            Reporter: Willem Jiang
            Assignee: Willem Jiang
            Priority: Minor
             Fix For: 2.14.1, 2.13.4


We need to update the schema definition as camel-cxf already support to setup the publishEndpointUrl option out of box.
The work around is define the publishEndpointUrl from the endpoint properties just like this.
{code}
<cxf:cxfEndpoint id="routerEndpoint" address="http://localhost:9090/CxfGreeterConverterRouterTest/CamelContext/RouterPort"
    		serviceClass="org.apache.hello_world_soap_http.Greeter" 
    		endpointName="s:SoapPort"
    		serviceName="s:SOAPService"
    	    xmlns:s="http://apache.org/hello_world_soap_http">
    	    <cxf:properties>
    	       <entry key="publishedEndpointUrl" value="http://www.simple.com/services/test" />
    	    </cxf:properties>
    	    
   </cxf:cxfEndpoint>

{code} 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)