1 Reply Latest reply on Jan 3, 2011 1:45 AM by ffang

    Simple web service

    donaldesb

      Hi, I am preparing for a new web service project. I have no experience in web service, so I would like to hear the opinion from people who had done similar project on whether it is more appropriate to use SOAP or REST or other simpler one for the project, and if there is any working example that I can use as a base for my project.

       

      The requirement is briefly as follow:

      -user call my web service with several data from a sales transaction.

      -my web service select some of those data e.g. job status and datetime for validation to determine if the transaction is a new one or existing one

      -if it is new, then update a database, else ignore it.

       

      Happy New Year!

       

      Regards,

      Donald

        • 1. Re: Simple web service
          ffang

          Hi,

           

          Both SOAP and REST way work for you, but seems the REST way is more appropriate to you as it can easily map the UPDATE operation.

           

          And I believe the samples/jax_rs/basic example shipped with kit should be a good start.

           

          Happy New Year

          Freeman