Absent Member.. robertosegantin Absent Member..
Absent Member..
174 views

Call external web service on CRM from PPM on CR saving

Jump to solution

Good evening,

on a customer of ours who has PPM 9.31 on Windows 2012 R2,9.31. PPM calls some external web services, located to a CRM, using the following process: during the saving of the Customer Request, PMM use "RequestRulesUserLibrary.js" to call a defined JSP page. This JSP page calls a custom JAR library that calls the external web service which returns an ID that it will be saved into PPM.
So, we can create the following steps:
1. CR on save event calls RequestRulesUserLibrary.js
2. RequestRulesUserLibrary.js redirects to a JSP page
3. The JSP has a Java code which calls a JAR library
4. The JAR library calls the web service located to CRM
5. The web service responses with an ID
6. This ID will be stored to PPM using its variables

Can PPM call that external web service avoiding this complex process?
Is it possibile to realize another integration between PMM and CRM to exchange information via web service?
The web services in based on WSDL an infromation is send via SOAP.

 

Also, this flow, worked perfectly on PPM 9.2x, but from several months, on PPM 9.31 (which is the migration from PM 9.2x) it doesn't work, even if we recreated the same configurations, and even if on PPM Guide it will be declared supported.
Has PPM 9.31 a different configuration, to realize this process compared to PPM 9.2x?

 

Thanks for your time

Roberto 

0 Likes
1 Solution

Accepted Solutions
Rachna_Visal Frequent Contributor.
Frequent Contributor.

Re: Call external web service on CRM from PPM on CR saving

Jump to solution

Hi Roberto,

This can be implemented using the process you have listed.
Stubs can be used, especially if the CRM system is expecting RMI calls.

I was listing the changes listed in the Release notes for your reference.

For the web services implementation not working after upgrade- this will need further investigation.  We need to understand where your operation stops and what exception you encounter.   Please log a support ticket for detailed investigation.

You might want to also check if your RequestRulesUserLibrary.js is not overwritten by upgrading.

Thanks
Rachna

HP Expert
0 Likes
4 Replies
Rachna_Visal Frequent Contributor.
Frequent Contributor.

Re: Call external web service on CRM from PPM on CR saving

Jump to solution

Hi Roberto,

The following two points need to be kept in mind after moving to 9.31-

1. After installing the service pack, regenerate the Web service stubs in the PPM Server from the new Web

Services Description Language (WSDL) descriptor

2.The stub configuration might fail if the host is not resolvable by name. To resolve the host by name, make an entry in the hosts file for the machine you want to connect. See the documentation for your operating system for the location of the hosts file.

Please see the attached RElease notes for 9.31.

Hope this helps.

 

Thanks

Rachna

HP Expert
0 Likes
Absent Member.. robertosegantin Absent Member..
Absent Member..

Re: Call external web service on CRM from PPM on CR saving

Jump to solution

Good Morning Rachna,
thanks for your answer, so if I understood well, I can use "web services stub feature" to call external web services from PPM, before saving CR, to send some informaton to the CRM.
And in this way I can bypass the process presented before (.js -> .JSP -> JAR -> WS) ?

Does this feature work even if the external web service is protected by password?

 

Thanks 

Roberto

0 Likes
Rachna_Visal Frequent Contributor.
Frequent Contributor.

Re: Call external web service on CRM from PPM on CR saving

Jump to solution

Hi Roberto,

This can be implemented using the process you have listed.
Stubs can be used, especially if the CRM system is expecting RMI calls.

I was listing the changes listed in the Release notes for your reference.

For the web services implementation not working after upgrade- this will need further investigation.  We need to understand where your operation stops and what exception you encounter.   Please log a support ticket for detailed investigation.

You might want to also check if your RequestRulesUserLibrary.js is not overwritten by upgrading.

Thanks
Rachna

HP Expert
0 Likes
Absent Member.. robertosegantin Absent Member..
Absent Member..

Re: Call external web service on CRM from PPM on CR saving

Jump to solution

Hi Rachna,

thanks for your response.

Regards

Roberto

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.