Question
Infosys
IN
Last activity: 16 Oct 2018 12:03 EDT
Expose automation as service and use in .net
Hi,
I published automation as webservice using 'Service' item in OpenSpan but while calling this service from .net, I am getting error message like 'No connection could be made because the target machine actively refused it..'
Please correct me.
Regards,
K. Jayachandra Reddy
***Updated by Moderator: Marissa to change from Discussion to Question***
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Bank Of America
US
The issue is resolved. I mapped it to Localhost and it worked for me.
Pegasystems Inc.
Hey,
I am having a little trouble understanding exactly the details on what you are trying to accomplish. Would you mind rephrasing the question and/or providing screenshots?
Xavier
Infosys
IN
Hi Xavier,
I tried in my machine as per https://collaborate.pega.com/question/openspan-71-how-expose-automation-web-service-end-point
Infosys
IN
Hi Xavier,
I got the solution. But, can you provide info on below queries.
Where the OpenSpan Service is published?
To publish the service, will required Admin rights? Can't we publish without admin rights.
What is the use of OpenSpan Driver Service and OpenSpan.Services located in 'Services'? Attached screenshot.
Proven Consult
OM
Hi,
Can anyone tell me how I can expose an automation as a web-service.?
Regards
Himanshu Yadav
Infosys
IN
Hi Himanshu,
Please follow below steps.
1. Run pega studio as administrator
2. Add entry and exit point in automation.
3. Add Service item to project then it will display list of automations (entry point automations)
4. Click on add button in the service window and change properties as per your requirement.
5. Now publish the service and will generate wsdl file.
6. You can use this wsdl further. Let me know.
Accenture
IN
Can you pls share the screenshot since when we tried it shows 'failed to start the service'
Westpac Banking Corporation
AU
Hi,
PFA reference doc.
Bank Of America
US
Hi
I followed the steps created and the wsdl was also generated. But when i try to consume that WSDL in Pega it was not ableto parse that. The Test was working fine in Automation. Am i doing anything wrong? Please guide
Westpac Banking Corporation
AU
Are you getting any errors?
Copy the screenshot to understand further.
Accepted Solution
Bank Of America
US
The issue is resolved. I mapped it to Localhost and it worked for me.