cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexandros Karypidis <akary...@yahoo.gr>
Subject Re: WS-RM and NON-anonymous clients
Date Fri, 23 Oct 2009 14:55:07 GMT
My thoughts got a little garbled while writing so let me rephrase that:

If using JBoss with CXF integrated, you need to put the jetty / 
jetty-util jars in the deployers/jbossws.deployer directory otherwise 
you will get a ClassNotFound exception while CXF tries to initialize the 
client endpoint; currently it is not possible to have that endpoint 
published by JBoss.

Alexandros Karypidis wrote:
> Thank you Daniel, it works as advertized.
>
> One extra note to anybody using JBoss to do this: You will need to 
> manually add the Jetty to JBoss' CXF integration deployer as discussed 
> in the following topic of the JBoss forum:
> http://www.jboss.org/index.html?module=bb&op=viewtopic&t=162775
>
> Daniel Kulp wrote:
>> I think in your config, you need to do something like;
>>
>>     <http:conduit 
>> name="{http://apache.org/hello_world_soap_http}SoapPort.http-conduit">
>>       <http:client 
>> DecoupledEndpoint="http://localhost:9999/decoupled_endpoint"/>
>>     </http:conduit>
>>
>> To specify the URL for the decoupled messages.    You can do it via 
>> API's as well.   See:
>> http://cxf.apache.org/docs/client-http-transport-including-ssl-support.html 
>>
>>
>>
>> Dan
>>
>>
>>
>>
>> On Wed October 21 2009 2:14:58 am Alexandros Karypidis wrote:
>>  
>>> Hi,
>>>
>>> What is the CXF API/configuration that allows me to set the EPR value
>>> for ReplyTo/FaultTo in WS-RM?
>>>
>>> My problem is that the client always connects to the web service
>>> provider using an "anonymous" endpoint reference. I would like to 
>>> change
>>> that so that the client's EPR is specific and persistent (there will
>>> always be one client instance running, on a specific host).
>>>
>>> The header exhanged is shown below, with the anonymous address 
>>> highlighted:
>>>
>>>    <soap:Header>
>>>       <Action .../>
>>>       <MessageID .../>
>>>       <To ../>
>>>       <ReplyTo 
>>> xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">
>>> NEED TO CHANGE THE ADDRESS BELOW
>>>
>>> <Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</A

>>>
>>> ddress> </ReplyTo>
>>>    </soap:Header>
>>>
>>> Thanks for your help.
>>>
>>>     
>>
>>   


Mime
View raw message