Creating web service clients
When you publish a BMC Remedy AR System web service, a WSDL document that describes the web service is created in Developer Studio. A web service client must be created to interact with this web service. Many environments can be used to create web service clients. Most have tools that automatically generate code to invoke a web service, given the WSDL. Apache AXIS, a third-party library, is installed with the mid tier for this purpose, but you can use other web service frameworks as well.
Popular environments for writing web service clients include these:
- Apache AXIS — In AXIS, run WSDL2java from the command line with the WSDL URL as a command-line parameter. The autogenerated code is a class that has methods that correspond exactly to the operations you created in the web service. Each method has input and output parameters corresponding to the mappings you created. To invoke the web service, instantiate the class and invoke a method with the correct parameters. For more information, see http://ws.apache.org/axis/java/user-guide.html and http://ws.apache.org/axis2/1_2/quickstartguide.html.
- JAX-WS — In JAX-WS, run wsimport from the command line with the WSDL URL as a command-line parameter. The autogenerated code contains the necessary class to invoke any operation on the web service. For more information, see https://jax-ws.dev.java.net/guide/.
- Microsoft.NET — In Microsoft.NET Visual Studio, autogenerate the invocation code by adding a web reference. When prompted for a URL, enter your WSDL URL. For more information, see http://msdn2.microsoft.com/en-us/library/w3h45ebk.aspx.
The following topics are provided:
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*