226 reputation
926
bio website
location Argentina
age 27
visits member for 3 years, 7 months
seen Nov 3 at 18:13

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
18
revised How to consume custom WCF service hosted in Sharepoint 2010 from outside in C#?
Added details
Dec
14
accepted How to know if JS file has been registered in a visual web part?
Dec
14
accepted How to show documents in a webpart like Sharepoint does?
Dec
14
accepted How to simulate content and usage
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.
Dec
6
asked How to consume custom WCF service hosted in Sharepoint 2010 from outside in C#?
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.
Nov
6
asked How to show documents in a webpart like Sharepoint does?
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.
Oct
25
asked How to simulate content and usage
Sep
12
awarded  Popular Question
Aug
7
awarded  Notable Question
May
22
awarded  Popular Question
May
2
awarded  Popular Question
Apr
3
accepted How can I pass an argument to a FeatureReceiver during solution setup?
Apr
1
comment How can I pass an argument to a FeatureReceiver during solution setup?
Yes, I guess I'll end up creating the DB in the installer. Thanks.
Apr
1
asked How can I pass an argument to a FeatureReceiver during solution setup?