Salesforce

How to create and deploy a WebService for PASOE in ProxyGen

« Go Back

Information

 
TitleHow to create and deploy a WebService for PASOE in ProxyGen
URL NameHow-to-create-a-WebService-for-PASOE-in-ProxyGen
Article Number000118656
EnvironmentProduct: OpenEdge
Version: 11.6.x, 11.7.x, 12.x
OS: Windows
Question/Problem Description
How to create a WebService for PASOE in ProxyGen
How to create a WSM file for PASOE in ProxyGen
Steps to Reproduce
Clarifying Information
Error Message
Defect Number
Enhancement Number
Cause
Resolution
Creating the Web Service artifacts
  • Generate the ABL procedure files which will be used for the service and compile r-code for them.
  • Use the ProxyGen tool to generate .wsm files for the Progress Application Server (PASOE). (Use ProxyGen)
When creating a wsm file for the PASOE in ProxyGen, only the following options are considered:
  1. AppService name (AppObject)
  2. SOAP message format (RPC/Encoded, RPC/Literal and Document/Literal)
  3. Appserver remote procedure(s)
The remaining values can stay default, as they will be ignored.

Deployment
  • Developer Studio
Developer Studio can be used to create/deploy a Web Application (AppServer project). In this WebApp several Web Services (.wsm files) can be deployed via the OpenEdge Explorer tool. All services must have a unique Appservice Name!
  • OpenEdge Explorer
  1. In the Resources screen, select your AppServer (Pasoe) instance
  2. If it's not running, start it
  3. Select the Web App Services tab (below)image.png
  4. Select Deploy
  5. One the Deploy Web Service popup, browse for the generated .wsm file.  For Web application name, select ROOT, and select Deploy.
Your Web Service will be deployed and automatically enabled, however you will need to restart pasoe for it to be available for clients.
  • From the command line
In the <pas--instance-dir>/bin folder is a batch file / script for deploying a SOAP service named deploySOAP.[ bat | sh].   This script can be used to deploy a .wsm file into a PASOE instance.  See the documentation at SOAP service deployment (deploySOAP.sh).​​​
For example:
proenv>$CATALINA_BASE/bin/deploySOAP.sh CustomerService.wsm ROOT
 
Use the following URL to access the wsdl file:
http://[hostname]:[port]/[webapp_name]/soap/wsdl?targetURI=<appservice_name>
 
Workaround
Notes
References to Other Documentation:

OpenEdge Development: Web Services, Overview of SOAP Web services in OpenEdge - Creating OpenEdge SOAP Web services
https://docs.progress.com/bundle/openedge-webservices-development-117/page/Creating-OpenEdge-SOAP-Web-services.html

Develop ABL Services: Develop services - Develop an ABL service using the SOAP transport
https://docs.progress.com/bundle/openedge-abl-develop-services/page/Develop-an-ABL-service-using-the-SOAP-transport.html  

Progress Articles:

How to publish your own OpenEdge Web Service  
How to migrate classic WebSpeed application to PAS

Keyword Phrase
Last Modified Date5/8/2023 1:47 PM

Powered by