webmethods

FTP Timout on NLST when directory is empty

EDIT: Learned that Webmethods actually uses NLST, not LIST, if that matters Our business uses the WebMethods integration server to handle most of our outbound communications, and its FTP functionality leaves something to be desired. We are having a problem that may be specific to WebMethods, but if anyone can point me in a direction of...

What is the simplest way to interact between a SAP OMS and Websphere Commerce??

Would it be using a Websphere Adaptor for SAP or webmethods or something else?? Does something else need to be considered while opting for one of these??? The final system needs to be synchronous between SAP and the WCS front end.No ques..no delays.... ...

Drools project idea needed

I was asked to make some drools traning for my teammates. Just to show them how it can be used and how usefull it may be. To do this training I first have to learn Drools, and I figured that the best way to learn it will be small project centered around drools. Any interesting ideas? My idea for this project was to do some webMethods...

Does WebMethods ESB scale?

I'm looking for people who have had experiences scaling WebMethods ESB to large traffic volumes (both size and number of messages). How has that gone? Were there any issues and how did you solve them? ...

Profiling WebMethods services?

What techniques are available to profile services running in WebMethods Integration Server? That is, to obtain data which would indicate which parts would benefit most from optimisation. ...

System.Net.WebException: The request was aborted

Hi all, First off, let me clarify the platforms we are using. We have an ASP.NET 2.0 app calling a web service which was created and is hosted on webMethods (now SoftwareAG) Integration Server 7.1.2. The issue we are experiencing appears to occur every 10-20 minutes under a moderate volume of attempts. The .NET app tries to call the w...

Why does IIS wild card mapping break my AJAX calls?

I'm trying to use jQuery to make some AJAX calls, but because I have wild card mapping (to .NET) in IIS 6 turned on, it doesn't seem to work. Disabling the mapping makes everything magically work. I've put the web method attribute on methods in both an .aspx page and an .asmx web service, but neither work. Here is the sample URL that ...

Asp.Net Server-side implementation options for Ajax site

I'm very new to the whole Ajax/Asp.Net stuff so... I know that there are at least a few different ways of implementing the server-side of an Ajax enabled Asp.Net site. One way is to add static methods to your aspx page's code-behind and mark them with the WebMethod attribute. Another way is to use a separate ASMX web service fil...

How to get SessionID on a request where EnableSessionState="False"

Hello, I want to be able to get the SessionID of the currently authenticated session in a WebMethod function where EnableSession = false. I cannot set EnableSession=true on this request, because another (long running) request on a different page is keeping the SessionState locked (EnableSessionState == "True" not "Readonly"). Is there...

How to get the Page Controls(like DropDownList in aspx page) reference inside WebMethod in WebService

How to get the Page Controls like DropDownList in aspx page reference inside WebMethod in WebService? ...

ASP.NET Webmethod in aspx.cs page not able to access Page.Request object

Hello, Does anyone know how to access HttpRequest.Cookies within a static method with [WebMethod] attribute from an aspx.cs page? It won't let me do it because method is static . [WebMethod] public static bool PostToTwitter(string identityUrl, string message, bool autoFollow) { Page.Request.Cookies -- object reference is required f...

A question about WebMethods

Hello, I have a page and it has webmethods I can use theese from the aspx page via ScriptManager, I am wondering If anyone can access theese methods from the outside of the page,if it is how can I secure the WebMethods ? ...

ASP.NET Web Forms jQuery AJAX Pass Multiple Paramaters to Web Method

I am calling a Web Method in the code behind with a Method Signature that has 4+ strings accepted. I am creating a params variable and using it to add all input fields I want to pass to the method. var params = { showStartDate: showStartDate, showEndDate: showEndDate, ...

Why does WebMethod in .aspx page ignore DataContract - DataMember attributes

When I send back a Class, it ignores the DataContract - DataMember attributes and serializes all members of the class as well as sends the class name in the "__type" flag as well. How can I make it respect the DataMember attributes? ...

Web Methods works with html button but not asp:button

I'm am looking at the code in this article on Web methods and I've tried to implement it. The article works as designed but when I swap the HTML button for an asp:button I get different results. CODE behind: [WebMethod] public static string GetCurrentDate() { return DateTime.Now.ToString(); } Aspx pa...

Help me understand web methods?

I have a method on a page marked with the webmethod and scriptmethod tags.. The method returns a collection of objects to a jquery function as JSON data with no hassles and without me having to manually serialize it. I am now trying to recreate that same method using a HTTPHandler and was wondering why i have to now manually serialize ...

WebMethod return as String (without <?xml tag)

[WebMethod(EnableSession=true)] [ScriptMethod(UseHttpGet=true, XmlSerializeString = false)] public string RaiseCallbackEvent(string eventArgument) returning value started with <?xml. How can I get rid of it? ...

Adding Entity Framework entities (one-to-many) in JSON via ASP.NET WebMethod

I am currently working on a project utilising both the Entity Framework (the version packaged with the .NET Framework version 3.5 SP1) and lots of AJAX-based functionality, which I am implementing using jQuery on the client-side and ASP.NET WebMethods on the server-side. I typically create new entities using a WebMethod that accepts the...

Problem deserializing json date on server (asp.net)

Hi, I am currently trying to implement the wonderful jQuery plugin 'week calendar' (here) in my simple asp.net website. I have set up a couple of [WebMethods] to send data to the calendar and to respond to client side events (creating events, modifying events etc). asp.net's automatic serialization of objects when using WebMethods seems...

How to update multiple labels in an WebMethod (Asp:net / Ajax)

Hi Guys, I have around 20 labels to update. In relation to performance and padeload-weight, I choose WebMethods to realize it (Much smaller then updatepanel + timer). So, how to update a lot of values in the WebMethod? (My First intention was to access them normaly as I do: lbl1.Text = "1"; lbl2.Text = "2".... but the method is stati...