*
The moose likes Web Services and the fly likes In JDeveloper, How can I overwrite a webservice's address endpoint when generated from an EJB? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "In JDeveloper, How can I overwrite a webservice Watch "In JDeveloper, How can I overwrite a webservice New topic
Author

In JDeveloper, How can I overwrite a webservice's address endpoint when generated from an EJB?

Daniel Paniagua
Greenhorn

Joined: Dec 18, 2011
Posts: 7
I'm using JDeveloper (10.1.3.5) to create a web-service from an existing EJB.

Everytime I add a new method to the EJB and regenerate the webservice, the generated WSDL in {myproject}\src\META-INF\ always has the endpoint address predefined to a fixed hostname and port.

Where can I change these settings in the project configuration (or variables)?

I have to deploy this web-service on several different QA environments (with different endpoints) and the consumer could also be an ESB. I really don’t enjoy going to each QA application server console to change the endpoint manually.

Any help is appreciated...

Thanks,
Daniel


OCPJP
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: In JDeveloper, How can I overwrite a webservice's address endpoint when generated from an EJB?
 
Similar Threads
WSDL location and Port address location
communicate non java client with java server side components ?
Java client doesn't throw exception if endpoint url is incorrect?
sending files via web service
setting the endpoint url