Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.

MFSD Extensions & SOAP Web Services - Java code examples

MFSD Extensions & SOAP Web Services - Java code examples

Download: MFSD Extension & SOAP Sample Code


Download: Service Desk Developer Resources (.pdf)


Service Desk provides a rich experience for developers to extend the functionality and integrate with other 3rd party systems. Currently there are two ways to integrate 3rd party systems with Service Desk.




  1. MFSD Extensions

  2. MFSD SOAP Web Services


With this cool solution we have attached Java example codes for MFSD Extensions and MFSD SOAP Web Services. The examples will help the developer try out these features.

MFSD Extensions: MFSD Extensions gives the ability to invoke developer's code on any request work flow state transitions and item lifecycle state transitions. Currently Extensions are supported only in Java. Developers can simply extend the interface(WorkflowListener.java) bundled along with livetime-listen.jar.

Detailed steps are mentioned in the attached developer resources document.

In the sample code attached com.novell.mfsd.ws.code.MFSDExtensionExample is for MFSD Extensions.

MFSD SOAP Web Services: MFSD SOAP Web Services gives the ability to the developer to communicate directly with service desk for example to raise a incident/Service Requests from a third party systems or creating a new Item etc.

MFSD has soap services for Item, Customer, Request, Organization and Purchase order.

Detailed documentation on SOAP services are provided in the attached developer resources document.

To invoke these services you have authenticate with Service Desk with Authenticate service. On successful authentication,Authenticate service provides a cookie that has to be passed to invoke other services.

In the sample code attached com.novell.mfsd.ws.code.MFSDWebservicesExample contains examples on login, getting item fields and logout.

In the attached example please change the following details in the main method and provide your service desk details:

MFSDWebservicesExample mfsdsoap = new                                                                        MFSDWebservicesExample("164.99.166.90", "8700", out);
//User credentials and LDAP Server name as provided in Setup->LDAP
mfsdsoap.connect("nsdsupervisor1", "novell", "NSD");
//Just I am testing get fields for an item
HashMap test = mfsdsoap.getItemFields("100099");

Attachments

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2016-05-27 17:56
Updated by:
 
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.