Hi Denny, The other point that I was uncomfortable with the plugin was generating the implementation and client classes. They were not compatible with the interface's method definitions. One sample might explain the problem:
One of my interface's method: @WebResult(targetNamespace="http://service.me.com/", name="customerlist", partName="customerlist") @WebMethod(operationName="getCustomerList", exclude=false) public List<Customer> getCustomerList(); and the implemention was generated as: *public* CustomerArray getCustomerList() { ... } where the CustomerArray is a generated class for binding. And of course after the impl class generation I get compiler errors. Thanks, On 8/17/07, denny_xu <[EMAIL PROTECTED]> wrote: > > > Hi Anne > > .deploy file is a xmi format file which mode is defined by EMF, so you > want > to find the syntax for type of file you can look at its EMF model file in > the project > "org.eclipse.stp.soas.deploy.models.deployfile\models\DeployFile.ecore" in > STP, but we do not suggest to hand jam the xml - formatted .deploy file, > there are some constrains for values of the elements in the file, and you > will get some errors just like " Could not locate package constructor". > > As Mustafa mentioned, for this moment, you should create connection > profiles > for the servers before deployment, we are trying to refactor the > deployment > framework, for next release of stp you just need to create servers using > wtp > server creation wizard and the server list will be poped up when you try > to > add a target. > > For the problem of "Could not locate package constructor", could you > provide > more details? > > Thanks > Denny > > > > Anne Racel-2 wrote: > > > > Thanks, Mustafa, I'm one step closer..... > > > > Now I'm getting an error about missing packages? > > > > Could not locate package constructor (2x's) > > > > And yes, James, I'd be happy to update the wiki as soon as I get this > > working! > > > > -----Original Message----- > > From: James Mao [mailto:[EMAIL PROTECTED] > > Sent: Thursday, August 16, 2007 11:48 PM > > To: [email protected] > > Subject: Re: deployment on eclipse {cxf newbie} > > > > Hi Guys, > > > > If it works for you, can you guys kindly update the wiki page, > > http://cwiki.apache.org/confluence/display/CXF20DOC/CXF+tools+in+Eclipse > > That's quite useful information. > > > > You can list all the requirement steps, if you feel it's necessary > > > > Thanks > > James > > > >> I am sorry I forgot to mention you creating a connection profile for > >> the servers. In fact that was the point where I struggled > >> with. File>New>Connection Profiles>Connection Profile and add one > >> server impl. > >> > >> In case you need it urgent, I also attached the .deploy file. > >> > >> On 8/16/07, *Anne Racel* <[EMAIL PROTECTED] > >> <mailto:[EMAIL PROTECTED]>> wrote: > >> > >> Thanks. I read it. I also saw the comment here > >> ( http://cwiki.apache.org/CXF20DOC/cxf-tools-in-eclipse.html) that > >> said > >> that that tutorial was out of date, so I both read the document > > and > >> viewed the referenced flash-like movie on the tools page. In both > >> cases, you're to create the Deployment file (File/New/Other/SOA > >> Tools/Deployment Profile), go to the Configuration tab, then 'Add > >> Target'. Unfortunately, when I try to add a target, the list only > >> shows > >> an empty Tomcat folder, even though I've added 2 Tomcat servers > > (mind > >> you, those servers show up on every other menu that they're > > supposed > >> to). I figured it would take me longer to figure out why the > > server > >> weren't showing up than to hand jam the xml - formatted .deploy > > file. > >> But I can't find the syntax for the file, so I can't modify it. > >> > >> -----Original Message----- > >> From: Mustafa Egilmezbilek [mailto:[EMAIL PROTECTED] > >> <mailto:[EMAIL PROTECTED]>] > >> Sent: Thursday, August 16, 2007 1:19 PM > >> To: [email protected] > >> <mailto:[email protected]> > >> Subject: Re: deployment on eclipse {cxf newbie} > >> > >> You can get it free if you read this article: > >> http://www.ibm.com/developerworks/edu/os-dw-os-eclipse-soatp.html > >> > >> Hope it helps. > >> > >> > >> On 8/16/07, Anne Racel <[EMAIL PROTECTED] > >> <mailto:[EMAIL PROTECTED]>> wrote: > >> > > >> > Where can I find the syntax for the eclipse .deploy file? I > >> can't get > >> > the system to recognize the servers I have installed, so I > >> thought I'd > >> > manually add the information. > >> > > >> > >> > >> > >> -- > >> Mustafa Egilmezbilek > >> > >> > >> > >> > >> -- > >> Mustafa Egilmezbilek > >> > > ------------------------------------------------------------------------ > >> > >> <?xml version="1.0" encoding="UTF-8"?> > >> <deployFile:Root xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" > > xmlns:deployFile="http://www.eclipse.org/stp/models/deploy/deployfile" > > name="deploy" description=""> > >> <package packageFile="wsdl/me.wsdl"> > >> <targetConfiguration targetServer="Tomcat 5.5.23"/> > >> </package> > >> <server targetingConfiguration="//@package.0/@targetConfiguration.0" > > profileName="Tomcat 5.5.23"/> > >> </deployFile:Root> > >> > > > > > > -- > View this message in context: > http://www.nabble.com/Re%3A-java2wsdl--%3E-wsdl2java-lossy--%28newbie-alert%21%29-tf4240919.html#a12194639 > Sent from the cxf-user mailing list archive at Nabble.com. > > -- Mustafa Egilmezbilek
