You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by harbhanu <ha...@huawei.com> on 2008/07/28 07:02:42 UTC

Service identification in CXF

Hi,

I am interested to know as to how the target service is identified in CXF,
With/Without WS-Addressing enabled? 

 

I have a test case wherein only the target namespace differs between the
client and server, other service description is same.

But in spite of this difference and contrary to my expectation, the
interactions between them work fine.

 

So, how do CXF successfully identifies whether the incoming message is for a
particular server/client. 

Also, I have observed that in the above test case with addressing enable,
the "Action" fields are different in both incoming n outgoing messages

This makes me to believe that "Action" value of header block is not used for
the service identification.

 

So, does CXF just plainly pass-on the message received, to the listing
entity on the destination/conduit??

If yes, then I believe that we cannot have a scenario wherein more than one
services are supported on the same address

and the final disambiguation being done by using value of "To" header block
from WS-Addressing.

 

Please let me know in case you need any clarification. Thanks!

 

Regards,

Harbhanu

 

 

 


Re: Service identification in CXF

Posted by Eoghan Glynn <eo...@iona.com>.
See my reply just now to your earlier mail entitled "Queries regarding 
WS-Addressing".

/Eoghan


harbhanu wrote:
> Hi,
> 
> I am interested to know as to how the target service is identified in CXF,
> With/Without WS-Addressing enabled? 
> 
>  
> 
> I have a test case wherein only the target namespace differs between the
> client and server, other service description is same.
> 
> But in spite of this difference and contrary to my expectation, the
> interactions between them work fine.
> 
>  
> 
> So, how do CXF successfully identifies whether the incoming message is for a
> particular server/client. 
> 
> Also, I have observed that in the above test case with addressing enable,
> the "Action" fields are different in both incoming n outgoing messages
> 
> This makes me to believe that "Action" value of header block is not used for
> the service identification.
> 
>  
> 
> So, does CXF just plainly pass-on the message received, to the listing
> entity on the destination/conduit??
> 
> If yes, then I believe that we cannot have a scenario wherein more than one
> services are supported on the same address
> 
> and the final disambiguation being done by using value of "To" header block
> from WS-Addressing.
> 
>  
> 
> Please let me know in case you need any clarification. Thanks!
> 
>  
> 
> Regards,
> 
> Harbhanu
> 
>  
> 
>  
> 
>  
> 
> 

----------------------------
IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland