Hi,
I have the following statement in my code:
System.Xml.XmlNode items = lstWebs.GetListItems(
"Tasks", string.Empty, listQuery, listViewFields,
string.Empty, listQueryOptions, WorkspaceId);
When executing this, the following exception occurs:
Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thro...
I have a problem with this is code:
Set oXmlHTTP = CreateObject("Microsoft.XMLHTTP")
oXmlHTTP.Open "POST", "http://www.oursite.com/WebServices/ourService.asmx?WSDL", False
oXmlHTTP.setRequestHeader "Content-Type", "application/soap+xml; charset=utf-8"
oXmlHTTP.setRequestHeader "SOAPAction", "http://ourNameSpace/ourFunction"
SOAPRequ...
The Web Service is in C#
From it I call by reflection a method in a dll
All happen right but when I try to replace the dll the OS says that the dll is locked. I have to finish the aspnet_wp.exe process in order to replace it.
How can I do that the Web Service does not lock the dll.
The code where I call the dll is
string dir...
We want to time how long certain actions run for in an ASP.NET MVC application. We're using ActionFilters to start and stop a timer each time a contoller action is invoked. The result is a small dataset a bit like this:
{
ContollerName: 'Account',
ActionName: 'Index',
ExecutionDuration: 287,
TimeRecorded: '2009-07-02 17:34:...
How can i call a wcf service from jquery (i am using asp.nt mvc). This is what i used to do with asmx webservices :
$.ajax({
type: "POST",
url: "Services/MyService.asmx/DoSomething",
data: "{}",
contentType: "application/json; charset=utf-8",
dataType: "j...
Background
I have an ASP.NET web application that interacts with WCF services. The web application and the WCF services are under my control. The ASP.NET web application uses a custom implementation of the ASP.NET Membership Provider Model (with passwords stored in hashed form) to authenticate users who log in to the web application. Bo...
Arrggh. I've seen like 15 examples that say do it like this: http://stackoverflow.com/questions/583606/sharepoint-web-services-test-if-file-exists
I'm on the same machine as the SP site, running as the SP and machine admin, I can happily call GetList, GetListCollection and GetWeb on the SiteData web service, but every time I call GetL...
I am getting this error when calling a web service method which writes to a file on the local drive on Windows 2003.
"System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed."
I have done thes...
Hi,
I created a very simple webservice in ASP.NET 2.0 to query a list in SharePoint 2007 like this:
namespace WebService1
{
/// <summary>
/// Summary description for Service1
/// </summary>
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[System.Compon...
With respect to an application that has both a web and desktop client version:
What is the best practice for the desktop client which needs access to a SQL Server?
What are the benefits of connecting to the database from the application vs using a web service?
Which one provides better security?
What type of scope would call for on...
If you don't want to expose the ID of a domain object to the client of a WCF service, you would obviously not put an ID property in the DataContract, right? But then, when the client calls the save method on your service, how do you know it's a new object, or an existing one that was modified?
With NHibernate you can use SaveOrUpdate an...
Hi, I am trying real hard to consume a web service in Visual Studio 2008. Can anybody tell me how do I go about doing it? Or is there a link that will give me the exhaustive steps to consume an axis webservice in Visual Studio 2008?
...
I have been happy serializing with javascript objects into JSON using
JSON.stringify
And sending along to my "static" webmethod in c#/asp.net and sure enought it arrives .. I need the correct number of parameters hence if my json object has "startDate","endDate","reserve" then my webmethod needs these as parameters.
"Basica...
What is considered the appropriate development for .asmx or wcf service classes regarding how many files, lines of code, responsibilities, etc? Do most people publish separate .asmx service files for the different crud methods for every class?
...
I'm creating a web service using PHP5's native SOAP Methods. Everything went fine until I tried to handle authentication using SOAP Headers.
I could easily find how to add the username/password to the SOAP headers, client-side:
$myclient = new SoapClient($wsdl, $options);
$login = new SOAPHeader($wsdl, 'email', 'mylogin');
$password =...
Occasionally I have a problem when I attempt to update a web reference in Visual Studio 2008 (this also happened in VS2005). It has happened in several different solutions.
When I have a solution with a (.NET 2.0) web service and a project that references the web service I get "There was an error downloading 'http://localhost:3890/MyWeb...
From the Developer (web dev/designer) point of view (POV). Not from the guy paying the bill POV.
Please read below:
Our company is looking for a good CMS system to develop our new website. We are looking for:
Easy maintainability of the content
Well kept MVC model
Widely supported
We want something that will give us the flex...
I gave a site full trust however I am still getting some security exceptions.
How can I confirm a website has full trust?
...
I am trying to retrieve address book contacts through yahoo. After googling a bit, i came up to number of yahoo developer pages and the api i was looking for. However, at the moment I am not in position to give detail about my Web Application URL and BBAuth Success URL while registering for yahoo app-id in order to yahoo app working. Sin...
I want to be able to populate the tool tip array for a HSlider via a web service.
Below is my code and all I'm doing here is populating anotherArray in the init() function from the arrayValues array just to test that much.
However when I launch the application anotherArray contains only "null" and not the rest of the data.
Any ideas?
...