general comments about cxf and my progress towards completing integrating JAX-RS CXF with EJB

2011-05-02 Thread Ryan Zoerner
Dear Sergey, I would like to update you and the team about the Integrating CXF JAX-RS with EJB project. Starting with the Server.java file in the "basic" http demo, found at http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/jax_rs/ I have been doing some codetracing s

Re: Can anyone explain flow of PUB/SUB pattern in JMS

2011-05-02 Thread Freeman Fang
Hi, This is a jms specific question IMO, you should post this question to jms implementations project mailinglist/forum, probably try with apache activemq. Freeman On 2011-5-2, at 下午7:23, more.harshal2...@gmail.com wrote: Hi All, Can anyone explain flow of PUB/SUB pattern in JMS? Means

Re: svn commit: r1097729 - in /cxf/trunk/rt: databinding/aegis/src/test/java/org/apache/cxf/aegis/ databinding/jibx/src/test/java/org/apache/cxf/jibx/ databinding/sdo/src/test/java/org/apache/cxf/sdo/

2011-05-02 Thread Willem Jiang
Hi Dan, Thanks for your inputs, these help user to configure the executor better, I will commit these enhancements shortly. Willem On 4/29/11 9:41 PM, Daniel Kulp wrote: Willem, I think there needs to be two "enhancements" to this before it's really finished: 1) JAX-WS provides API's for

FileUtils.getStringFromFile issue when using XML

2011-05-02 Thread Tom Eastmond
I was using the FileUtils.getStringFromFile() method for some Camel testing and was receiving a SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.]. It turns out that this was due to the was due to the FileUtils.normalizeCRLF() method which replaces whites

Re: How to implement PUB/SUB model in Web service

2011-05-02 Thread Johan Edstrom
http://cxf.apache.org/docs/jax-ws-java-first-with-jms-transport.html On May 2, 2011, at 9:08 AM, more.harshal2...@gmail.com wrote: > > Let me try this one. > > Then what is pupose of > > tag in bean.xml? > > Thanks. > Harshal > > -- > View this message in context: > http://cxf.547215.n5.

Re: How to implement PUB/SUB model in Web service

2011-05-02 Thread more.harshal2...@gmail.com
Let me try this one. Then what is pupose of tag in bean.xml? Thanks. Harshal -- View this message in context: http://cxf.547215.n5.nabble.com/How-to-implement-PUB-SUB-model-in-Web-service-tp4364484p4364928.html Sent from the cxf-dev mailing list archive at Nabble.com.

Re: Can we add logging for messages in log file for JMS enabled Web service.

2011-05-02 Thread Christian Schneider
You can add the logging feature to your client and server defintions. See http://cxf.apache.org/docs/debugging-and-logging.html Christian Am 02.05.2011 16:44, schrieb more.harshal2...@gmail.com: Hi All, Can we add logging for messages in log file for JMS enabled Web service. at serverside:

Re: How to implement PUB/SUB model in Web service

2011-05-02 Thread Christian Schneider
Hi Harshal, yes .. I meant a web service client. The config you sent only described an endpoint which is the server part. I guess you also have a jaxws:client definition that you use to get the proxy class you call on the client side. You can simply start another container on another or the s

Can we add logging for messages in log file for JMS enabled Web service.

2011-05-02 Thread more.harshal2...@gmail.com
Hi All, Can we add logging for messages in log file for JMS enabled Web service. at serverside: what request we got and what response we are providing. at client side: what request we are sending and what response we are getting. I am alredy having soap logging for Http transport web service. D

Re: How to implement PUB/SUB model in Web service

2011-05-02 Thread more.harshal2...@gmail.com
Yes, It is JMS web service. Not getting meanning of "similar configuration for the client." If you are considering client means Web service client then Yes. I am writing the message in TOPIC using this client and this web method get called. Now, You want me to host one more service with this co

Re: How to implement PUB/SUB model in Web service

2011-05-02 Thread Jeff Genender
This really depends. We have worked with a few clients to implement this as this is becoming a more and more common architectural pattern. WSN would normally be the way to go, but it isn't fully implemented. We used a "bastardized" version of WSN (i.e. the just the spec WSDLs) and implemented

Re: How to implement PUB/SUB model in Web service

2011-05-02 Thread Christian Schneider
What you configured here is a service that uses jms transport and a topic. That looks good at least for the server side. So if your start your server then it will register a a subscriber to the topic. I guess you have a similar configuration for the client? So if you started your service and t

Re: How to implement PUB/SUB model in Web service

2011-05-02 Thread more.harshal2...@gmail.com
Look. I am having a web service project which uses JMS Queue i.e. PTP pattern. Now I generated the client for the above service and able to invoke it. Now I wish to implement PUB/SUB pattern. So I configured Topic in JMS server and just modify my project configuration as per below http://www.s

Re: How to implement PUB/SUB model in Web service

2011-05-02 Thread Christian Schneider
Hi, to use pub sub you have to use the jms transport with a topic name instead of a queue name. When the cient sends the request to the topic it is delivered to all endpoints that are currently subscribed to that topic. This client will not know how many subscribers there are as the jms server

How to implement PUB/SUB model in Web service

2011-05-02 Thread more.harshal2...@gmail.com
Hi All, I am trying to implement PUB/SUB pattern in my web service. I am able to implement PTP pattern in my web service. but now I am willing to modify the web service for PUB/SUB pattern. I did the modification for destination queue to Topic. also able to write a message in topic and process

Can anyone explain flow of PUB/SUB pattern in JMS

2011-05-02 Thread more.harshal2...@gmail.com
Hi All, Can anyone explain flow of PUB/SUB pattern in JMS? Means how the publisher come to know who are subscriber for this topic. What to do to sent tp subscriber. How to configure Subscriber for topic. Thanks. Harshal -- View this message in context: http://cxf.547215.n5.nabble.com/Can-an