| bio | website | |
|---|---|---|
| location | Argentina | |
| age | 25 | |
| visits | member for | 2 years |
| seen | May 7 at 21:20 | |
| stats | profile views | 23 |
|
Apr 9 |
comment |
How to get all keywords from the Keywords termset programatically (Enterprise Keywords) Yes, I've already done that... but once I have a Term I can't find how to get the documents that have this term as enterprise keyword. I'm thinking this is not possible from these Taxonomy classes. |
|
Feb 28 |
comment |
How to search/query by Enterprise Keywords? I have to do it programatically. |
|
Feb 26 |
comment |
How to search/query by Enterprise Keywords? And where exactly does that query go? SPQuery? |
|
Jan 4 |
comment |
How to consume custom WCF service hosted in Sharepoint 2010 from outside in C#? @natdico Well this worked in a Console test project but it doesn't in a ASP.NET project. Maybe it's because the default credentials for each one are different? I mean they're running with different accounts? How can I check that? |
|
Dec 19 |
comment |
How to consume custom WCF service hosted in Sharepoint 2010 from outside in C#? The client and the Sharepoint Site are on the same server, same physical machine. There's nothing between them AFAIK. |
|
Dec 18 |
comment |
How to consume custom WCF service hosted in Sharepoint 2010 from outside in C#? Well, thank you! It worked. Even without the cookies foreach. But for some reason it doesn't work without the first request. Any thoughts about why is that needed? Also, this will be installed in different Sharepoint 2010 servers, with different configurations. Do you think this could not work in any specific scenario? Thank you again, you saved my week. |
|
Dec 18 |
comment |
How to consume custom WCF service hosted in Sharepoint 2010 from outside in C#? Well, this seems a step forward. The GetResponse() doesn't throw an exception like before, but when trying to read the res.GetResponseStream() throws an "Cannot access a disposed object. Object name: 'System.Net.HttpWebResponse'." |
|
Dec 18 |
comment |
How to consume custom WCF service hosted in Sharepoint 2010 from outside in C#? This is a REST based WCF service, there's no WDSL. |
|
Dec 18 |
comment |
How to consume custom WCF service hosted in Sharepoint 2010 from outside in C#? Well, did what you suggested and now I'm getting a System.TimeoutException with an inner exception saying "The remote server returned an error: (504) Gateway Timeout.". |
|
Dec 18 |
comment |
How to consume custom WCF service hosted in Sharepoint 2010 from outside in C#? Question, where does the IWebConnectorService come from? I mean, I don't have the serviec contract in this .NET project. Should I copy the service contract to this new project and use that? |
|
Dec 18 |
comment |
How to consume custom WCF service hosted in Sharepoint 2010 from outside in C#? Are you sure? Is that a custom WCF Restful service that you've created and hosted in the Sharepoint site? I'll try it. Thanks |
|
Dec 18 |
comment |
How to consume custom WCF service hosted in Sharepoint 2010 from outside in C#? @KitMenke Yes, I'm using the REST factory (not the SOAP) but I'm using JSON to return a list of custom presentation objects. I've included a simple Test method that works when browsed but doesn't when trying to call it from Fiddler or .NET code. |
|
Dec 18 |
comment |
How to consume custom WCF service hosted in Sharepoint 2010 from outside in C#? @natdico Tried that, still 400. Even dragging a successfull request made by jQuery in Fiddler to the composer and run it from there doesn't work, but throws 401 unauthorized. So there is something that is being passed by the browser (cookies?) that doesn't seem to be included when calling it from another client (.NET project, Fiddler). |
|
Dec 18 |
comment |
How to consume custom WCF service hosted in Sharepoint 2010 from outside in C#? Adding this makes the error change to "(401) Unauthorized" even when using a full farm admin. Anyway, this couldn't be a proper solution because this will be installed on clients servers and we can't force it to use basic authentication if they don't want to. |
|
Dec 18 |
comment |
How to consume custom WCF service hosted in Sharepoint 2010 from outside in C#? That is for a SOAP service, this is a REST service. |
|
Dec 7 |
comment |
How to consume custom WCF service hosted in Sharepoint 2010 from outside in C#? I don't think it's a problem with the headers because typying the url of the web method in the browser works fine. But trying to do a GET request (which is what jQuery does) using Fiddler or .NET returns a 400 - Bad request. My guess is that it doesn't work because I'm not "logged in" to the Sharepoint Site while using Fiddler or .NET, but in the browser I am. |
|
Dec 6 |
comment |
How to consume custom WCF service hosted in Sharepoint 2010 from outside in C#? @natdico I think I've found the problem. The web service is using the factory that creates a REST service, to be accessible via jQuery. But in order for .NET to access needs to be a SOAP service with the endpoints. Is there any way to have both? |
|
Dec 6 |
comment |
How to consume custom WCF service hosted in Sharepoint 2010 from outside in C#? Ok, I have Fiddler, what exactly do you need me to copy? Also, just a normal jQuery.ajax() request and just entering the web method url in the browser returns the expected result. It's only trying to do it via C# that throws BAD REQUEST, so maybe I need to use some other C# object to do it. |
|
Nov 6 |
comment |
How to show documents in a webpart like Sharepoint does? Sure, but how can I populate it client-side (jQuery)? This seems only possible to populate in the .NET side. |
|
Oct 25 |
comment |
How to simulate content and usage Great, this is a good start. Thank you. I'll search for this Contoso Sharepoint. The only thing is that I just find an HyperV VM... and I'm already using a Cloudshare VM... Maybe the can install it for me.. Anyway, thanks man. |