Well in fact, i want to send to endpoint="endpoint" as specified in my
xbean.xml but unfortunately the message is sent to endpointStd.


Freeman Fang wrote:
> 
> Hi Brice,
> 
> In your proxy configuration
> <cxfse:proxy service="calculatorExt:CalculatorExtEndpoint" 
> interfaceName="CalculatorExt" endpoint="endpoint" context="#context" 
> type="com.mycompany.brice.calculatorext.CalculatorExt" />
> It works, right?
> And  you want send messa ge to endpointStd, so you specify the 
> endpoint="endpointStd",  but that's not enough, also the type attribute 
> should be "com.mycompany.brice.calculatorext.CalculatorExtStd", as I 
> mentioned int the previuse mail
> 
> "Also, you should specify the "type" attribute correctly, which should 
> be the client stub for the interface (portype in the wsdl) you want to 
> send message to. "
> 
> You can generate class 
> com.mycompany.brice.calculatorext.CalculatorExtStd from the wsdl which 
> have the CalculatorExtStd porttype.
> 
> Freeman
> 
> 
> Fullocto wrote:
>> Freeman Fang wrote:
>>   
>>> The wsdl you append in the attachment is the one you mentioned have 
>>> three endpoint?
>>>
>>>     
>> No in fact I created a light version I can share on internet, and two
>> endpoints were enough to create the problem.
>>
>>
>> Freeman Fang wrote:
>>   
>>> Do I understand your scenario correctly?
>>> standalone client ======> cxf bc consumer===> cxf se (the se has proxy 
>>> of cxf bc provider) =========> cxf bc provider ===========> standalone 
>>>
>>>     
>> Exactly
>>
>> standalone client ======> cxf bc consumer===> cxf se (the se has proxy 
>> of cxf bc provider endpoint1) =========> cxf bc provider(endpoint1,
>> endpoint2) ===========> standalone 
>>
>> Actually, in my files endpoint1= endpoint, and endpoint2=endpointStd
>>   
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/CXF-routing-issues-with-same-servicenames-tp18157214p18192335.html
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.

Reply via email to