A PowerBuilder component deployed/exposed as a Web service

When you expose your PowerBuilder component as a Web service from your IDE (Integrated Development Environment), an EJB is created from the PowerBuilder component. The deployed EJB ultimately has a J2EE Web services description file associated with it.

The EJB uses the information contained in the Web services description file to generate:

StepsAn example of exposing a PowerBuilder component as a Web service

  1. You have a component (NVO) named n_pbsoap with a package name of pbsoap in your PowerBuilder IDE.

  2. You expose the component from your IDE using these comments:

    javaPackage="com.sybase.mypackage";webServices="n_pbsoap"; 
    
  3. A Web application is deployed to the deploy\webapps\pbsoap_ws subdirectory of your EAServer installation.

  4. Access the Web service WSDL at http://mymachine:8000/pbsoap_ws/n_pbsoap?wsdl