Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Where to change the "definitions name" of a WSDL BEFORE deployment?
Where to change the "definitions name" of a WSDL BEFORE deployment? [message #223663] Sun, 09 November 2008 12:55 Go to next message
Eclipse UserFriend
Originally posted by: p.oho.hotmail.com

A WSDL file starts always with a line like:

<definitions name="TestWsService" targetNamespace="..." xmlns="http://schemas.xmlsoap.org/wsdl/"

Assume that this is the WSDL I can see on the server AFTER deployment to AppServer.
How can I change the "definition name" BEFORE deployment?

In other words: Where in Eclipse do I have to enter the new name (say "aaatest") so that
after compilation and deployment to the server in the displayed WSDL this WSDL starts as

<definitions name="aaatest" targetNamespace="..." xmlns="http://schemas.xmlsoap.org/wsdl/"

Peter
Re: Where to change the "definitions name" of a WSDL BEFORE deployment? [message #223678 is a reply to message #223663] Mon, 10 November 2008 20:03 Go to previous message
Lawrence Mandel is currently offline Lawrence MandelFriend
Messages: 486
Registered: July 2009
Senior Member
Hi Peter,

If you're working top-down, where you start by authoring your WSDL using
the WSDL editor, you can change the name in the WSDL source before
developing your Web service. In your case it sounds like you're working
bottom-up, where the tools generate the WSDL document for you. In this
case you should see a WSDL file (something.wsdl) in your dynamic Web
project after the generation is complete. Open the WSDL document and
change the name to aaatest or whatever you want it to be. AFAIK WTP
doesn't contain any other magic that will change the name when the WSDL
file is deployed to the server so the name should remain intact when the
file is deployed.

Lawrence Mandel
-
Co-author Eclipse Web Tools Platform: Developing Java Web Applications
http://www.eclipsewtp.org

>A WSDL file starts always with a line like:
>
><definitions name="TestWsService" targetNamespace="..." xmlns="
http://schemas.xmlsoap.org/wsdl/"
>
>Assume that this is the WSDL I can see on the server AFTER deployment to
AppServer.
>How can I change the "definition name" BEFORE deployment?
>
>In other words: Where in Eclipse do I have to enter the new name (say
"aaatest") so that
>after compilation and deployment to the server in the displayed WSDL this
WSDL starts as
>
><definitions name="aaatest" targetNamespace="..." xmlns="
http://schemas.xmlsoap.org/wsdl/"
>
>Peter
Previous Topic:Re: Unwanted XML warnings
Next Topic:WebServices: upload file with Axis2
Goto Forum:
  


Current Time: Tue Mar 19 07:50:38 GMT 2024

Powered by FUDForum. Page generated in 0.02096 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top