Wednesday, November 16, 2011

vCO - wavemaker, your cloud webservice (part I)

Many of you noticed that VMware acquired wavemaker (acquisition) in march this year. When searching for a WebView (included in vCenter Orchestrator) alternative I decided to take a look on wavemaker. I was really surprised how easy it was to start with a simple web portal as showcase for my customers. The biggest advantage in my opinion is the simple access to the SOAP based vCenter Orchestrator interface which allows you to build web portals an applications without any knowledge of a higher programming language.

With this series I want to show you three examples:

1. Get all Workflows
2. Get free DVS port-group ports
3. Clone a simple VM

After the installation of wavemaker on my MacBook Pro the Wavemaker GUI is shown in my browser (http://localhost:8094/wavemaker/). At first I have to open a new project and define the basic layout (you can customize the layout later):





















I normally use the "no_theme" option because of it´s slick design. Next step is to create a WebService reference under "Service" in the main menu. Please note that you have to install the wsdl4j.jar library first.













I named my reference "vCOreference" and insert several elements in the main layout box: 2 text boxes (name/caption username and password), one button (name/caption Submit) and a datagrid below those elements. I also named the tabs as the further functionality: getAllWorkflows, getInventory and cloneVM. Please note that you have to select "password" for the password textbox to ensure the hidden input.

















Now I select the "Submit" button an pick the "events" text on the right side of the navigation. Then I choose "New Service" for the "OnClick" event. This means that when the button is clicked the service variable is called.


After the selection is made wavemaker switches to the Services view and I choose the service I want to use with the new variable.

Remember the first use case I choose the "getAllWorkflows" method. After this selection I link the input variables (username/password) to the text boxes designed at the beginning of this article.



Now the variables are linked with the inputs of the SOAP call. As you might imagined I want the data grid to show the result of the "getAllWorkflows" method. This is also really simple: Just click on the data grid and click the bracket beside "data set" in the right navigation pane. In the displayed binding list just choose the first (list) parameter.

With this selection the data grid changes it´s layout into the return parameters (id, name, description) automatically. Now you can save the project and press "Run" on top of the page. After giving the credentials and pressing the "Submit" button all workflows are displayed in the data grid.

As you can see I used only 10-15 clicks to establish a SOAP connection and a small web portal. So my opinion is: "Wavemaker rocks!" This is really an alternative to the included WebViews and allows you to build web services and web portals from the scratch without any knowledge in programming languages!

20 comments:

  1. You are lucky - try a more complex WSDL and you will see that Wavemaker fails.

    See:-
    https://securedwebapp.com/api/service.asmx?WSDL

    ReplyDelete
  2. I hear it's fixed in 6.4 (beta) - woo - just took 1 year.

    ReplyDelete
  3. Yes, it fails with element type=anytype...and if the element is double, wavemaker converts to long....

    ReplyDelete
  4. Very interesting and informative article with good Portal solution

    ReplyDelete
  5. Wavemaker is the best cloud web service which provides many advantages. It provides simple access to the SOAP based vCenter Orchestrator interface. With the help of this service, you can build web portals an applications without any knowledge of a higher programming language.


    Web development

    ReplyDelete
  6. This is such a great resource that you are providing and you give it away for free. I love seeing websites that understand the value of providing a quality resource for free. If you want to know about then check out here.
    Digital Marketing Company in Bhopal

    ReplyDelete
  7. kosher certification , kosher certificate,kosher food certification,kosher certificate in mumbai,kosher certification india,kosher india,kosher certificate india,kosher certificate in ahmedabad,kosher certified,kosher symbol

    https://www.koshercertifications.in/

    ReplyDelete
  8. Hey, very nice site. I came across this on Google, and I am stoked that I did. I will definitely be coming back here more often. Wish I could add to the conversation and bring a bit more to the table, but am just taking in as much info as I can at the moment. Thanks .

    DedicatedHosting4u.com

    ReplyDelete
  9. Thanks for posting useful information.You have provided an nice article, Thank you very much for this one. And i hope this will be useful for many people.. and i am waiting for your next post keep on updating these kinds of knowledgeable things...Really it was an awesome article...very interesting to read..please sharing like this information.

    Thanks
    Cpa offers

    ReplyDelete

  10. Your post is very good. I got to learn a lot from your post. Thank you for sharing your article for us. it is amazing post
    what is seo
    types of seo

    ReplyDelete
  11. This is a fantastic idea! I like it a lot because it's super easy for the audience to see the value of opting in. wonderful and amazing post very use full your post thanks for sharing your article
    Android Application development
    Web application

    ReplyDelete
  12. Software Development Company We specialize in Blockchain development, Artificial Intelligence, DevOps, Mobile App development, Web App development and all your customised online solutions. Get best impression at online by our services, we are familiar for cost effectiveness, quality, delivery and support.
    Blockchain Development Company Are you looking for a blockchain developer to meet your organization? Then it makes good sense to hire our expertized blockchain developer. Blockchain has become the most decentralized topic in different organizations.This technology creates a new doorway for payment which is exceedingly secure. It is a magnificent form of Database storage system useful to record information or data. This information can be automatically stored with the help of the cryptography mechanism furnishing more secure data. We will help you to develop and attach to a private blockchain where features that will be track and verify transaction and communication between different departments and stakeholders. The blockchain technology that supports Digital currencies and cryptocurrencies.

    ReplyDelete
  13. this is really nice idea for users and also help me for my next project

    ReplyDelete
  14. Very Helpful Information
    https://gasagencydistributor.com/

    ReplyDelete
  15. Very educative!

    https://gasagency-dealership.in/

    ReplyDelete
  16. Interesting. Learnt a lot
    https://lpgdealership.co.in/

    ReplyDelete
  17. https://lpgdistributor.in/
    I am so impacted

    ReplyDelete
  18. Wao! This is really impressive
    https://lpgvitarakchayanhelpline.in/

    ReplyDelete