Highlighted
Absent Member.
Absent Member.
373 views

HPSM Attachment on CURL

Hi Experts,

Please suggest on my two queries:

1). I am using Curl command to call HPSM data through webservices and copy in third party ticketing tool. However, I am not able take attachment from HPSM and copy at third party ticketing tool. Though In webservice call by putting true to "attachmentinfo" and "attachmentdata"  I do get some values but I don't know whether with that information alone how will I pass attachment to other system.

2). As I am using Curl command to call HPSM data so it makes multiple session in HPSM, which in turn makes my queries "Not Authorised".  Please suggest, How can I  use single session to query data periodically or if there is any alternate.

Thanks

Shail

Tags (1)
0 Likes
2 Replies
Highlighted
Absent Member.
Absent Member.

Re: HPSM Attachment on CURL

Hi Experts,

 

Please suggest.

 

Thanks

Shail

0 Likes
Highlighted
Visitor.

Re: HPSM Attachment on CURL

Hi All,

Got the solution for curl session not closed. In SOAP header use -h <connection:close>, This will closed the session after finishing the CURL command task.

Thanks

Akhil

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.