Thanks Ulhas for your quick reply and help!

You got me right:-). I am not sure if jms_queue had really used the Tomcat
server and Spring bean.
Since like the example in CXF2.1.1 release, there is a jms_queue in sample
directory, it didn't have beans.xml and no configuration to deploy to
Tomcat, when I run

ant jmsbroker.start
ant server
ant client

Everthing worked. By your example, I have used beans.xml and web.xml. But I
still run three command as above to get the output. How do I know I have
utilized Spring and Tomcat?

Actually I have just found that I still need to start jmsbroker and then I
can directly run client without running "ant server". Maybe that's why it
works in Tomcat? I want to confirm this from you.

BTW, do you know how to see the message in JMS queue? Please let me know if
you know how to see WSDL from web for WS over JMS transport.

Thank you a lot!
Emily


On 7/22/08, Ulhas Bhole <[EMAIL PROTECTED]> wrote:
>
> I didn't get you. Do you mean how to make sure that the server runs on JMS
> transport within Tomcat? If you use jms_queue client which surely uses JMS
> queue for request response and that should work with the server deployed in
> Tomcat.
>
> Another thing about WSDL from tomcat, I haven't tried may be need to play
> around a bit.  I will let you know if I find a way.
>
> Regards,
>
> Ulhas Bhole
>
> Emily Gu wrote:
>
>> Thanks Ulhas for your quick reply and examples.
>>
>> I worked I guess since I can run server and client as standard alone. How
>> do
>> I know it runs on the JMS transport but deploed on Tomcat?:-) May I ask
>> how
>> can I see WSDL from web?
>>
>> I tried http://localhost:8080/jms-queue/services/jms_greeter?wsdl
>>
>> Nothing was shown up. Am I missing anything? Does JMS mean I cannot see
>> WSDL
>> online?
>>
>>
>> On 7/11/08, Ulhas Bhole <[EMAIL PROTECTED]> wrote:
>>
>>
>>> Here it is.
>>>
>>> I used IONA certified FUSE Services Framework 2.0.5 for the sample but it
>>> should work without or with minor changes with CXF 2.1.
>>>
>>> Regards,
>>>
>>> Ulhas Bhole
>>>
>>> Ulhas Bhole wrote:
>>>
>>>
>>>
>>>> Hi Emily,
>>>>
>>>> Take a look at
>>>>
>>>>
>>>> http://ulhasbhole.blogspot.com/2008/06/running-cxf-jmsqueue-sample-in-tomcat.html
>>>> unfortunately, I was unable to attach the archive of the sample to my
>>>> blog
>>>> message. I will  see if I still have that and mail it to you if I find
>>>> it.
>>>>
>>>> Regard,
>>>>
>>>> Ulhas Bhole
>>>>
>>>> Emily Gu wrote:
>>>>
>>>>
>>>>
>>>>> Do you have an example of service over JMS transport using Spring or
>>>>> Servlet
>>>>> with CXF2.1?
>>>>>
>>>>> Thanks!
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>> ----------------------------
>>>> IONA Technologies PLC (registered in Ireland)
>>>> Registered Number: 171387
>>>> Registered Address: The IONA Building, Shelbourne Road, Dublin 4,
>>>> Ireland
>>>>
>>>>
>>>>
>>> ----------------------------
>>> IONA Technologies PLC (registered in Ireland)
>>> Registered Number: 171387
>>> Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland
>>>
>>>
>>>
>>>
>>
>>
>>
>
>
> ----------------------------
> IONA Technologies PLC (registered in Ireland)
> Registered Number: 171387
> Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland
>

Reply via email to