NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
sciacallo
Joined: 15 Apr 2009 Posts: 2
|
Posted: Wed Apr 15, 2009 8:33 pm Post subject: WebServices from WSDL in a natural way |
|
|
Hi Folks,
I have just started to develop web services and I following the contract first style. I'm not using a particular framework, for now. Just creating XSD->WSDL -> webservices, everything with the aid of NetBeans 6.5.
I have one xsd and one wsdl file and it's straight forward to update xsd and then the wsdl using the design view, adding new elements and declaring new services/messages/ports etc...
Two problems:
1) which wsdl file I must modify ? Looking at the project (Ctrl+1) tree the same wsdl file is present in : Configuration File->wsdl->myservice,Configuration File->xml-resources->web-services->myservice->wsdl, Source Package->default package.
Usually I modify the wsdl in Source Package but the others seem to be old versions, I think they should reflect the new one, isn't it? Otherwise I need to copy the wsdl in the others position.
2) The adding an operation to my wsdl (Source Package), is there a way to refactor the service's class adding only the new operation starting from the updated wsdl ?
I found, on netbeans.org, a lot of tutorials on faster approach (not-contract-first), I know that probably this is a different approach. If you have some docs with contract-first and netbeans please share it.
Is Spring the solution ?
Cheers. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|