Hi Ulhas, If we want to publish the same service over multiple jms channels will we have to define a port for each of them in the wsdl file?
Thanks! Regards Mayank -----Original Message----- From: Bhole, Ulhas [mailto:[EMAIL PROTECTED] Sent: Thursday, January 10, 2008 15:59 To: cxf-user@incubator.apache.org; [EMAIL PROTECTED] Subject: RE: Question regarding jms destination Hi Mayank, JMS transport ignores the address specified in endpoint.publish() and acts upon anything that is set in JMS WSDL Entensor. Having said this, you do need the address starting with jms:// to let CXF stack know which transport to pickup if you skip this CXF will assume default HTTP transport and will try to load HTTP transport. Regards, Ulhas Bhole -----Original Message----- From: Mayank Thakore [mailto:[EMAIL PROTECTED] Sent: 10 January 2008 09:48 To: cxf-user@incubator.apache.org Subject: Question regarding jms destination Hi, For JMS, we specify the endpoint to register the service when invoking Endpoint.publish(address, impl) Also, we specify the url as the jndiDestinationName attribute of jms:address element in the wsdl port definition. The jndiDestinationName must be registered in jndi server or name not found exception is thrown. So, if we are giving the jndi destination url in wsdl file, what is the use of giving the endpoint address when calling Endpoint.publish(string, object)? What does this message in the logs imply (I gave this url to Endpoint.publish whereas, in wsdl I am using the url jms://MyQueue): INFO: Setting the server's publish address to be jms://MyNew2Queue I realize that it works properly if we give the same url at both the places and have the destination registered in jndi. Thanks much for the help! Regards Mayank **************************************************************************** **************************** This e-mail and attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient's) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it! ---------------------------- IONA Technologies PLC (registered in Ireland) Registered Number: 171387 Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland