Clustering retry strategy - retry count

2010-12-15 Thread Jason Pell
Hi, I have added the clustering feature to my jaxws client using the retry strategy and it certainly retried once more than previously so a great start. However I have a unreliable service to connect to and I need to be able to setup a more flexible retry including waiting between retries all

Re: Clustering retry strategy - retry count

2010-12-15 Thread Freeman Fang
Hi, Maybe not answer your question directly, but other than implement a complex FailoverStrategy yourself, how about you consider to use ws-rm provided by cxf, it's has more flexible configuration such as BaseRetransmissionInterval(I believe it's waiting between reties in your term), and

Web Service in OSGi with spring-dm

2010-12-15 Thread Markus
Hello, after I am finally able to run CFX in OSGi, I am trying hard to use spring-dm within this context. Everything seems to be fine (according to the logging output) but there is no web service on any port (veryfied with NMap; firewall disabled). This ist my META-INF/spring/beans.xml: ?xml

Re: Web Service in OSGi with spring-dm

2010-12-15 Thread Freeman Fang
Hi, A couple of questions Seems you're using http-osgi transport, did you deploy this bundle in servicemix 4.x? If so, which exact servicemix version you're using? Which default http-osgi service listening port you're using? Which url you tried to access the webservice? It should be

Re: Web Service in OSGi with spring-dm

2010-12-15 Thread David Bosschaert
Hi Markus, You may want to try out the CXF-DOSGi subproject, which comes with a spring-dm demo. See here: http://cxf.apache.org/distributed-osgi.html Best regards, David On 15 December 2010 09:51, Markus zombiefromvalha...@web.de wrote: Hello, after I am finally able to run CFX in OSGi, I

Re: Web Service in OSGi with spring-dm

2010-12-15 Thread Markus
Hi Freeman, hi David , yes, I try to use the http-osgi transport. The bundle is deployed: 32 ACTIVE cxf-rt-transports-http-osgi_2.2.9 But I am not using servicemix at all. Maby I am wrong, but I thought that using an Enterprise Service Bus is not necessary. I will have some business

Re: Web Service in OSGi with spring-dm

2010-12-15 Thread Freeman Fang
Hi, My comment inline On 2010-12-15, at 下午7:26, Markus wrote: Hi Freeman, hi David , yes, I try to use the http-osgi transport. The bundle is deployed: 32 ACTIVE cxf-rt-transports-http-osgi_2.2.9 But I am not using servicemix at all. Maby I am wrong, but I thought that using an

Upgrade to 2.3.1 causes webapp startup problems

2010-12-15 Thread Ronald Pieterse
Hi, I had my webapp running using Spring 3 with CXF 2.2.8 and decided to upgrade to CXF 2.3.1. Now the webapp doesn't startup correct anymore. It gives the following exception: Caused by: org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name

Apache CXF not adding ws-addressing element wsa:To to the server response

2010-12-15 Thread nidkil
Hi, We are using Apache CXF to develop a service. The service needs to add the wsa:To, wsa:Action, wsa:MessageID and wsa:ReplyTo to the server response as part of the soap header. All elements, except for wsa:To, are added. Is there something we need to configure to add wsaTo? What are we

Re: Creating an UnsignedShort

2010-12-15 Thread Ronald Müller
hi, thanks for your respond. Am 14.12.2010 21:43, schrieb Daniel Kulp: I think you would just need to use a java.lang.Integer. Not really sure though. That is what jaxb maps an unsignedShort to, but when writing it, I'm not sure what JAXB would do in that case. that is exactly, what

Re: restful webservice with session

2010-12-15 Thread Sergey Beryozkin
Redirecting to the users list... On Tue, Dec 14, 2010 at 4:11 AM, Peter youyou2...@gmail.com wrote: I am a newer using cxf of restful .however,I don't know how can I get session in context .I use cxf integrationed by Spring .who has used the session in restful .Can you tell me how can I do

Re: Problem with WSS4J and CXF

2010-12-15 Thread srinivas thallapalli
Hi dvaleri, Thanks for the reply -- View this message in context: http://cxf.547215.n5.nabble.com/Problem-with-WSS4J-and-CXF-tp3304120p3306244.html Sent from the cxf-user mailing list archive at Nabble.com.

Unsubscribe from this mailing-list

2010-12-15 Thread durga rao manchikanti
On Tue, Dec 14, 2010 at 11:48 AM, srinivas thallapalli sree.tallapa...@gmail.com wrote: Hi, I am working on applying ws-security for my cxf service using wss4j, to enable encrption trying to pass crypto properties with java.util.Properties to WSHandlerConstants.ENC_PROP_REF_ID as below,

Re: Creating an UnsignedShort

2010-12-15 Thread Daniel Kulp
On Wednesday 15 December 2010 8:12:20 am Ronald Müller wrote: hi, thanks for your respond. Am 14.12.2010 21:43, schrieb Daniel Kulp: I think you would just need to use a java.lang.Integer. Not really sure though. That is what jaxb maps an unsignedShort to, but when writing it, I'm

Re: Apache CXF not adding ws-addressing element wsa:To to the server response

2010-12-15 Thread Glen Mazza
I don't have an immediate answer for you, but here is some background information on WS-Addressing as implemented in CXF: http://cxf.547215.n5.nabble.com/Queries-regarding-WS-Addressing-tp549046p549047.html Worst case, you can always use a CXF interceptor or JAX-WS handler to add the header

ClasCastException XMLMessage vs SOAPMessage

2010-12-15 Thread Juan Pablo Pizarro
Hello All, I'm trying to call a web service with Spring+CXF. The result is a exception java.lang.ClassCastException: org.apache.cxf.message.XMLMessage cannot be cast to org.apache.cxf.binding.soap.SoapMessage. My configuration is: ?xml version=1.0 encoding=UTF-8? beans

Re: ClasCastException XMLMessage vs SOAPMessage

2010-12-15 Thread Freeman Fang
Hi, My comment inline On 2010-12-16, at 上午2:24, Juan Pablo Pizarro wrote: Hello All, I'm trying to call a web service with Spring+CXF. The result is a exception java.lang.ClassCastException: org.apache.cxf.message.XMLMessage cannot be cast to org.apache.cxf.binding.soap.SoapMessage. My

Re: ClasCastException XMLMessage vs SOAPMessage

2010-12-15 Thread Daniel Kulp
The line: property name=bindingId value=http://apache.org/cxf/binding/http; / is configuring it as the xml/http binding, not SOAP. Thus, the soap related interceptors won't work. Dan On Wednesday 15 December 2010 1:24:58 pm Juan Pablo Pizarro wrote: Hello All, I'm trying to call a

Re: Web Service in OSGi with spring-dm

2010-12-15 Thread Daniel Kulp
On Wednesday 15 December 2010 4:51:09 am Markus wrote: after I am finally able to run CFX in OSGi, I am trying hard to use spring-dm within this context. Interesting timing on this question from my standpoint considering I just spent the last several weeks (or more) working on this.