HPSM Attachment on CURL
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.
Re: HPSM Attachment on CURL
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.