Tutorial: Creating an inbound Web service using OAGIS
In this tutorial, you create an OAGIS style Web service. This Web service creates a customer in WebSphere Commerce with the WebSphere Commerce Web services framework. This tutorial demonstrates the steps involved with defining and registering a new service in WebSphere Commerce and creating the response JSP template for a confirmation response.
In this tutorial, you are creating a sample Web service, called SyncCustomer. This service follows the XML schema conventions set by OAGIS (http://www.openapplications.org) but does not use the OAGIS schema elements for simplicity. This service defines an XML schema that represents an existing business logic operation of registering a new user (UserRegistrationAdd). At the end of this tutorial, you have a Web service that can be used by external applications to create users in WebSphere Commerce.
Learning objectives
- Web services
- XML schema
- OAGIS style Web services
- Defining an OAGIS style Web service
- Calling existing business logic
- Creating a success confirmation message
- Creating a custom failure message
Time required
Expect this tutorial to take about 3 hours to complete. The tutorial takes longer if you explore concepts related to this tutorial.
Skill level
- WebSphere Commerce Developer
- Web services
- XML
- XML schema editor
- Run the Ant build file using the build utility in WebSphere Commerce Developer
System requirements
- Install WebSphere Commerce Developer Version 7
- Configure WebSphere Commerce Developer for Web service development