Project and Portfolio Management Practitioners Forum
cancel

Retrieving Attachments using the DemandService web services

Highlighted
Aldwin Lewis
New Member.

Retrieving Attachments using the DemandService web services

Hello, I'd like to know if anyone has used the DemandService to retrieve the contents of an attachment. I'm able to use the getRequests() method to retrieve the request. The response object contains the URLReferences property which has the urls to all the attachments associated with the item. What's the best way to retrieve these attachments? I looked at the documentation but I couldn't find anything pertinent. Thanks.
2 REPLIES
Shravan Kathuri
Honored Contributor.

Re: Retrieving Attachments using the DemandService web services

Hi Aldwin Lewis,

I am having problem using getRequests() method to retrieve the request through webservices.Can you please provide me the steps involved to create or get the requests using web services.While iam using, it is giving error as "SSL exception...".

and which authentication method should i use?

Thanks
Shravan kumar.
Aldwin Lewis
New Member.

Re: Retrieving Attachments using the DemandService web services

Here's the C# class I'm using to read the request. I'm using Basic Authentication security because my application is internal(no WSE 3.0)