Glen,

Thanks for the response but I may not have been clear on what I'm trying to
accomplish.  

In our normal development life cycle, once code (a .war file in this case)
leaves development for test and production we do not change anything in the
code or the accompanying configuration files (spring context, etc).  All of
the differences in the environments (database connections, etc) are handled
by the container - tomcat in this case.  We would like to implement the same
type of configuration with our web service deployments.  

In [1] - the last sentence of note 4 reads - "Note the URL specified in the
wsdl:port section (under wsdl:service) is ignored by the servlet container.
It is used, however, by the web service client which reads in this WSDL to
determine where to route the requests."

This is exactly the problem.  Yes the web service deploys correctly and the
servlet container ignores the address given in the provided WSDL.  But, the
WSDL is delivered unmodified to any requesting client with the address given
in the WSDL and not the address of the service.  I tried this yesterday one
last time before posting to the list using 2.0.4 of CXF.  

I'm not sure if that is a bug or a feature, I'm just trying to figure out
how to implement our standard practice given the current behavior of CXF.

Brent



Glen Mazza-2 wrote:
> 
> Note #4 of here[1] shows how the WSDL URL is created when you deploy to
> an application server; as you can see, what you have in the wsdl file is
> pretty much ignored web-service provider side.
> 
> For the client, it is just an issue of modifying the
> ENDPOINT_ADDRESS_PROPERTY as shown in Step #7 here[2].  You can use
> Spring Dependency Injection for that if helpful.
> 
> Glen
> 
> [1] http://www.jroller.com/gmazza/date/20071019#notes
> [2] http://www.jroller.com/gmazza/entry/using_the_ebay_shopping_api1
> 
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/WSDL-First-Development-Cycle---specifically-wsdl%3Aport-address-question-tp16399116p16418462.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to