After 4 long days of attempting to use the nuSOAP PHP library to create a client, we stumbled upon this gem of a tutorial on creating Java EE web service clients. It is so darn easy. Our test web service client project, VeniceClient, has been uploaded to the SF repository. Creating a basic barebones client for a web service (or several web services) takes under 10 minutes.
Currently, the web service 'PublicArtByID' does nothing but take an int parameter, double it, and stick it in the id of an outgoing XML representation of a PublicArt object. The Client currently takes an integer parameter from the user (no checking or anything) and invokes the Servlet, which sends it to the service. When the Servlet gets a response, it prints out the result.
This functionality can be accessed here. That is running on our development server in Worcester.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment