I have used following code to extract document attachment of cross space and same page using
ConfluenceSoapServiceService _service; var attachmentsList = _service.getAttachments(_token, pageId);
i got the following errors:
WebException: The operation has timed out
at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context) at System.Net.HttpWebRequest.GetRequestStream() at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at getAttachment(String token, String pageId)
where token is given by API .
i did also encounter the same problem. i have used the token to save the authenication token and the pageid is also passed properly but during calling getAttachments the operation timeout is displayed. the basic parameter of timeout for the ConfluenceSoapServiceService is set to 10000ms in default but i have set it to 5 minutes but the same timeout exception occurs. what should i do ?
Your code above is limited ... just to be sure are you getting an auth token and storing it in _token and does pageId have a value?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.