|
Re: Where to change the "definitions name" of a WSDL BEFORE deployment? [message #223678 is a reply to message #223663] |
Mon, 10 November 2008 15:03  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.02700 seconds