.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Post New Web Links

example of webserivce and webmethods

Posted By:      Posted Date: May 22, 2011    Points: 0   Category :ADO.Net

can u give example  of what type of webservice and webmethods are used in mobile store web applications


View Complete Post

More Related Resource Links

jqGrid with WebMethods in aspx.cs files



here is my code for jqgrid:

/// <reference path="jquery-1.3.2.js" />
/// <reference path="json2.js" />
/// <reference path="jquery.simplemodal.js" />
$(document).ready(function() {

WebMethods, sends to wrong address (activities.aspx.aspx)?

I'm verifying e-mail address using WebMethods, however, I'm getting a 404 not found (error console) saying that it can't find activities.aspx.aspx. I am using URL-Rewriting, but I tried adding a detect for 'activities.aspx.aspx' and redirect back to .activities.aspx' but it didn't do anything.Here is the error:[HttpException]: The file '/activities.aspx.aspx' does not exist. at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert) at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) at System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandl

Reponse webserivce xmlnode[] to object


We want to use a webservice where information about medicin for animals is registerd. It`s a webservice in Java and they use the springframework. I can do a request and get a response, but the response can not be cast to the output object.


I have implemented in several ways:

  • Using the import function inside VS2008/2010 for implementing Service Reference
  • Using the import function inside VS2008/2010 for implementing Webservice Reference
  • Using the svcutil.exe tool
  • Using the wsdl.exe tool


I get this error:

InvalidCastException was unhandled

In dutch
"Kan een object van het type System.Xml.XmlNode[] niet converteren naar het type TMP_Geneesmiddelen.nl.vetmessage.adapter.getLeveranciersResponse."

In english (i`m sorry for my english, i don`t know if it`s the correct translation)
"Cannot implicitly convert type System.Xml.XmlNode to TMP_Geneesmiddelen.nl.vetmessage.adapter.getLeveranciersResponse."



https://adapter.vetmessage.nl:8443/fidin-bct-webservices/fidinBctService.wsdl. I`m sorry i can`t place the whole WSDL.

VB.NET request:<

ajax autocomplete with webserivce from database values



i want to make the autocomplete textbox with ajax and i have used web service for that bt when i am writing something in my textbox so nothing is happening... plz tell me where i am wrong. here is my code..

Can anyone plz send me the source code of .aspx page and webservice code demo...

plz help me..


Access same session with 2 webmethods


Hi everyone, I am using jQuery Ajax to send some emails in my application. I am trying to use another ajax call to retrieve information about the sending process from the session but it is not working.

Here is my code

        public static object SendEmails(int emid, int evid, UserData[] ids)
            int remaining = ids.Length;
            HttpContext.Current.Session.Add("PR", "Processing");
            HttpContext.Current.Session.Add("RE", remaining);
            HttpServerUtility srv = HttpContext.Current.Server;
            EmailDetails ed = new EmailDetails();
            ed = (EmailDetails)EmailDAC.GetEmailDetails(emid, false);
            ed.EmailBody = EmailRewriter.RewriteQuotes(ed.EmailBody, 0);
            ed.EmailBody = EmailRewriter.PremailRewrite(ed.EmailBody, evid, HttpContext.Current.Server);
            ed.EmailBody = EmailRewriter.WrapEmailInBody(ed.EmailBody);
            HttpContext.Current.Session["PR"] = "Sending";
            foreach (UserData u in ids)
                EmailDetails en = new EmailDetails();
                en.EmailBody = ed.EmailBody;
                en.Subject = ed.Name;
                en.SendTo = u.Email;
                en.EmailBody = EmailRewriter.RewriteUser(en.EmailBody, u.Id, srv);
                Mailer m = new Mailer();
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend