Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Executing and Testing the Sample

...

Activity 1: View the wsdl representation for the service exposed by the Employee artifact. The wsdl uri is similar to https://{IP address}:9443/services/{singular label of the artifact}?wsdl.

Activity 2: Any  Any wsdl2java tool can be used to generate the stub. In this sample, we use the WSO2 Application Server which has the wsdl2java facility.1.

  1. As the prerequisites state, download and unpack the WSO2 Application Server binary distribution

...

  1. from http://wso2.com/products/application-server

...

  1.  if you haven't done already.

...

  1. Change the value of the <HideAdminServiceWSDLs> element in the <AS_HOME>/repository/conf/carbon.xml file to false.
  2. Navigate to <AS_HOME>/bin directory execute wso2server.sh (for Linux) or wso2server.bat (for Windows) to start the Application Server.

...

  1. Log-in to the AS management console and click the "tools" menu. Management console log-in is similar to that of Governance Registry.

...

  1.  
  2. Select wsdl2java from the tools pane which is in the left hand side of the management console.

...

  1. Provide the uri of the wsdl or file path of the wsdl. If the uri does not work, copy the wsdl from the browser to a text document and save it as .wsdl file and give the file path.

Activity 3: Result contains the stub java file and other skeletons with build.xml and pom.xml.

...