Hi
Which version of CXF are you using?
If you are using CXF 2.3.x, you can use the JMS_URI[1] for the address,
even you don't choice SOAP over JMS[2].
[1]http://tools.ietf.org/id/draft-merrick-jms-uri-09.txt
[2]http://cxf.apache.org/docs/soap-over-jms-10-support.html
Willem
On 1/12/11 11:17 PM, aditya3245 wrote:
Greetings:
I am currently using CXF standalone to deploy a WAR which involves the
creation of WSDL using the java2ws plugin.
The second step is to be able to deploy the wsdl successfully.
I use a local configuration file cxf.xml without spring to wire up the new
address
<jaxws:endpoint id="JMSMetricsServiceEndpoint"
implementor="com.app.JMSMetricsService"
address="/">
The jaxws:addresselement specifies the address of the endpoint as defined in
the WSDL file that defines service that is being deployed. This needs the
absolute URL specification for the correct soap:address to be written into
the generated WSDL. Currently this is set to "/" - which works except it
appends a trailing slash at the end.
Any workarounds ?
I have tried to set the absolute path in a local .props and set it as such
<jaxws:endpoint id="JMSMetricsServiceEndpoint"
implementor="com.putnam.jms.monitor.websvcs.JMSMetricsService"
address="${HOST_NAME}">
where HOST_NAME for local env, for example ->
HOST_NAME=http\://company.com/appService/application
but when i go to the WSDL URL -> it does not display
All sugestions are welcome
--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.javaeye.com (Chinese)
Twitter: willemjiang