Howto create your own webservice clients for PTV xServers

Gallery

Some time ago the PTV xServer development team was asked whether it was possible to create a web service client without our provided java clients and the bundled cxf framework.
The simple answer is: Yes! Those who would like to take the adventure and try it themselves should read on…

What you need for this

The prerequisites for this little sample are the following:

  • A JDK 6, or newer,
  • A Maven2 or Maven3 installation,
  • PTV xRoute Server (the sample runs with xRoute 1.16 but it should work with older versions too)

Create a Maven project

First of all we create a new directory and set up a Maven project file named pom.xmlRead more