cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aditya3245 <aditya.sarol...@gmail.com>
Subject CXF JAX:WS endpoint
Date Wed, 12 Jan 2011 15:17:04 GMT

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 
-- 
View this message in context: http://cxf.547215.n5.nabble.com/CXF-JAX-WS-endpoint-tp3338298p3338298.html
Sent from the cxf-issues mailing list archive at Nabble.com.

Mime
View raw message