Reputation
256
Top tag
Next privilege 300 Rep.
Create new tags
Badges
1 9 27
Impact
~64k people reached

  • 0 posts edited
  • 0 helpful flags
  • 18 votes cast
Mar
18
awarded  Popular Question
Mar
14
awarded  Popular Question
Mar
1
accepted How to consume custom WCF service hosted in Sharepoint 2010 from outside in C#?
Mar
1
answered How to consume custom WCF service hosted in Sharepoint 2010 from outside in C#?
Mar
1
accepted How to search/query by Enterprise Keywords?
Mar
1
answered How to search/query by Enterprise Keywords?
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?
Feb
26
asked How to search/query by Enterprise Keywords?
Feb
26
awarded  Popular Question
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
revised How to consume custom WCF service hosted in Sharepoint 2010 from outside in C#?
Added service contract and implementation