NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

WebServices from WSDL in a natural way

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
sciacallo



Joined: 15 Apr 2009
Posts: 2

PostPosted: Wed Apr 15, 2009 8:33 pm    Post subject: WebServices from WSDL in a natural way Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo