Thank Freeman

I will use the 3.2.2 or 3.3

Christophe



Freeman Fang wrote:
> 
> Hi,
> 
> I just go through the code, we retrieve the endpoint info from the wsdl 
> and publish it, so the jaxws:endpoint configure for cxf bus doesn't work 
> here.
> A quick fix is provide locationURI attribute for cxfbc:consumer endpoint 
> so that you can specify the address which will override the one in wsdl.
> 
> I just create jira issue[1] to track it
> [1]https://issues.apache.org/activemq/browse/SM-1210
> 
> Best Regards
> Freeman
> xtof wrote:
>> Hi,
>>
>> I've just added more parameters (id and endpoint) in the cxf.xml file .
>> There is no more error, but it seams that the provided configuration is
>> not
>> taken into account. Port 8092 (specificied in the WSDL)
>>
>> here is the updated cxf file:
>> <beans xmlns="http://www.springframework.org/schema/beans";
>>      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>>      xmlns:jaxws="http://cxf.apache.org/jaxws";
>>      xsi:schemaLocation="http://www.springframework.org/schema/beans
>> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
>> http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd";>
>>
>> <jaxws:endpoint id="person" endpoint="person:soap"
>> serviceName="person:PersonService"
>>      address="http://localhost:18092/PersonService/";
>>      bindingUri="http://localhost:18092/PersonService/";
>>      xmlns:person="http://servicemix.apache.org/samples/wsdl-first";
>>      bus="cxf"
>> />
>>
>> <bean id="cxf" class="org.apache.cxf.bus.CXFBusImpl"/>
>>
>> </beans>
>>
>>
>> Is it the right way to configure the port number?
>>
>> Thank
>> Christophe
>>
>>
>> Freeman Fang wrote:
>>   
>>> Hi,
>>>
>>> Would you please append the error log you get here?
>>>
>>> Freeman
>>>
>>>
>>> On 1/24/08, xtof <[EMAIL PROTECTED]> wrote:
>>>     
>>>> Hello,
>>>>
>>>> I'm trying to configure the HTTP port number of a cxf bc endpoint
>>>> without
>>>> modifying the port number specified in the WSDL.
>>>>
>>>> Reading the CXF documentation
>>>> (http://cwiki.apache.org/CXF20DOC/jax-ws-configuration.html)
>>>> it seams possible to define on a CXF endpoint on a different http port
>>>> number by providing a configuration file for CXF.
>>>>
>>>> I've tried with the cxf-wsdl-first example to associate a cxf file
>>>> using
>>>> the
>>>> cfgBus parameter in the cxfbc xbean.
>>>>
>>>> The cxf.xml file is well loaded but it seams to be invalid.
>>>>
>>>> My cxf file is:
>>>>
>>>> <beans xmlns="http://www.springframework.org/schema/beans";
>>>>        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>>>>        xmlns:jaxws="http://cxf.apache.org/jaxws";
>>>>        xsi:schemaLocation="http://www.springframework.org/schema/beans
>>>> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
>>>> http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd";>
>>>>
>>>> <jaxws:endpoint serviceName="person:PersonService"
>>>>        address="http://localhost:18080/test";
>>>>        xmlns:person="http://servicemix.apache.org/samples/wsdl-first";
>>>> />
>>>>
>>>> </beans>
>>>>
>>>> and my xbean file is:
>>>> <beans xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0";
>>>>       xmlns:person="http://servicemix.apache.org/samples/wsdl-first";>
>>>>
>>>> <cxfbc:consumer service="person:PersonService" endpoint="soap"
>>>>                wsdl="classpath:person.wsdl"
>>>>                      targetService="person:PersonService"
>>>>                      targetInterface="person:Person"/>
>>>>                        busCfg="cxf.xml"/>
>>>>
>>>> </beans>
>>>>
>>>>
>>>> Any idea?
>>>>
>>>> Thank
>>>> Christophe
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/setting-cxf-bc-endpoint-http-port-number-tp15063168s12049p15063168.html
>>>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>>>
>>>>
>>>>       
>>>     
>>
>>   
> 
> 

-- 
View this message in context: 
http://www.nabble.com/setting-cxf-bc-endpoint-http-port-number-tp15063168s12049p15083866.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to