I have followed your steps. But I still have the same problem when trying to regenerate wsdl file. I don't have "Generate WSDL" option in the popup menu when right click the "Project" .
Jonathan Huang wrote: > > Hi Tophebboy, > Please follow the steps to try again :) () > 1. Download the eclipse sdk 3.3 from: > http://www.eclipse.org/downloads > 2. Download the all-in-one STP package from: > > http://www.eclipse.org/downloads/download.php?file=/stp/downloads/drops/R-R200710161054-200710161054/stp-all-in-one-incubation-R-R200710161054-200710161054.zip > 3. Un-pack these two packages to one folder. > 4. Download the CXF 2.0.3 runtime from: > http://incubator.apache.org/cxf/download.html > 5. Un-pack the cxf package to some folder. > 6. Start eclipse from the location where you just un-pack the eclipse sdk > and stp packages. > 7. Click [Window]-->[Preferences...]-->[SOA Tools]-->[Installed Runtimes] > to add a "Apache CXF 2.0" runtime. > 8. Start the java first project wizard and chose the runtime you just > create in the runtime page. > 9. Then do what you want do... > > > > > > > Tophebboy wrote: >> >> ==>Hi! >> >> >> >> Jonathan Huang wrote: >>> >>> Hi, Tophebboy >>> Have you try to build your project after refactoring your SEI?? >>> >>> ==>Yes >>> >>> Have you add Jax-ws related annotaions to the modified SEI?? >>> >>> ==> Yes >>> >>> When you right click the "Project", does the operation "Generate >>> WSDL" appear in the popup menu?? >>> >>> ==> No. I only have "Create Jax-WS handler", "Enable Jax-WS" and >>> "Disable Jax-WS" >>> >>> >>> >>> Tophebboy wrote: >>>> >>>> Hi! >>>> I'm using Eclipse 3.3.0 and STP 0.7. >>>> Anyway, I don't have the option "generate wsdl". >>>> On top of that, once I generate the code, the SEI is changed to use new >>>> classes created in the service package and and cannot rebuild the wsdl >>>> then... >>>> >>>> >>>> Jonathan Huang wrote: >>>>> >>>>> Hi Tophebboy, >>>>> I am not sure which version of eclipse you use. >>>>> If you use the old one, you could set "Build Automatically" for >>>>> your project. Then if you refactor SEI, the related wsdl will be >>>>> updated automatically. If the "Build Automatically" is not set, you >>>>> should build your project manually after refactoring your SEI and the >>>>> wsdl will also be updated. >>>>> If you use the eclipse with the latest STP, you could use the >>>>> "Generate WSDL" operation to update the wsdl file after you refactor >>>>> your SEI. >>>>> Hope useful for you! >>>>> >>>>> >>>>> Tophebboy wrote: >>>>>> >>>>>> Hi! >>>>>> I have to create Web Services with CXF and Eclipse. >>>>>> When I follow the tutorial "Java fisrt", everything is OK. >>>>>> But, when I have to refactor my SEI, I lose everything: the wsdl is >>>>>> not updated...Anyway, I tried to Create a new Java First project to >>>>>> create a new SEI, a new WSDL, and I updated the WSDL of my former >>>>>> project with the new one, hoping that I could regenerate the code >>>>>> this way. But no! The operation "generate code" does nothing!!! >>>>>> Please help me! I really don't know how to do to be able to refactor >>>>>> my web services when I have to because re-doing everything from the >>>>>> beginning is very VERY long! >>>>>> Thanks in advance!!! >>>>>> >>>>> >>>>> >>>> >>>> >>> >>> >> >> > > -- View this message in context: http://www.nabble.com/Refactoring-a-WSDL-with-CXF-and-Eclipse...-tp13899015p14503449.html Sent from the cxf-user mailing list archive at Nabble.com.