Welcome to TWiki... Users, Groups
Go

Version 10.1 documentation related to Soap Integration is out of date. In version 10.1, the example Soap Implementation was upgraded from Axis to Axis2

Please see the following for the steps to create the stub files and compile them. An updated soap client is also included to retrieve a report from our sample web application. This assumes that you are running the bundled example web application in your local environment.

  1. Set the classpath to point to the full path of the current directory (e.g. c:\soap), bisuite_pro.jar, etools.jar, soap.jar, addressing-1.41.jar (located in webapp lib directory)
  2. In your stub directory, execute the following: java org.apache.axis2.wsdl.WSDL2Java -uri http://localhost:8080/sree/services/SoapRepository?wsdl
  3. This will create a build.xml file and src folder
  4. Go to src/inetsoft/sree/soap
  5. Compile the java files here with: javac *.java
  6. Save the attached SoapClient.java into src folder
  7. Add the full path of src directory to your classpath e.g. set CLASSPATH=%CLASSPATH%;c:\soap\src
  8. Go to src folder, compile SoapClient.java
  9. Run SoapClient to retrieve a report in PDF format: i.e. java SoapClient

-- StephenWebster - 02 Apr 2010

r1 - 02 Apr 2010 - 20:31:05 - StephenWebster
Copyright © by the contributing authors.
Syndicate this site RSSATOM