web-services

Any good web hosting service that support SOAP, WSDL, & Web Services?

I have a website, unpublished, it contains a web service that is written in .net. The rest of the website uses asp.net. I want to host the website in IIS. Anyone knows a good web hosting company that supports the above techniques? Most of them don't say clearly whether they support SOAP, WSDL, & Web Services or not. Thanks for any recomm...

Can I execute a AJAX-enabled webservice method on the onbeforeunload event of a browser ?

Hi guys, I am trying to execute a webservice method call from the javascript on the page, just before the user leaves the page. I got the javascript speaking the webservice perfectly. However, when I try to hook the javascript function to the window.onbeforeunload event, nothing happens. <script type="text/javascript" language="javascr...

How to do HTTP Server Push -- aka do I NEED STOMP, AMPQ, etc?

I am writing a collection of web services, one of which needs to implement server push. The client will be native Objective-C. I want this to be as simple, fast, and lightweight as possible. The data transmitted will be JSON. Is it possible to do this without using a message broker? ...

How to serialize only selected properties when using web services in ASP.NET application

In most cases we are using ASP.NET web services (System.Web.Script.Services.ScriptService) in our AJAX based web applications. This approach brings a major advantage providing automatically all the server-side classes (used in the web service methods) on client side in form of JavaScript alternatives (javascript classes with appropriate ...

client agent framework (web-services)

Hi, I have a scenario where my server side java code needs to interact with an application on the client desktop. So I was researching on if there are any simple frameworks to enable such interaction, say using web-services or pure java-servlets. I could create one custom framework to enable this, but the technical challenge I foresee wo...

direct acces database vs web service

Hello, What are the pros and the cons when we have the choise beetween using a direct database accès or using a web services ? What would be your choice for a critical application, that should be responsive (<0.5 sec) and with a low call to this webservice/DB (NB : the web service will be maintained by an other team). ...

ASP.NET Web Service changes port on Invoke

I have a ASP.NET Web Service on IIS, that is working on port 8080. On port 80 I have Apache, that is redirecting some web sites to IIS. On this case, I can access the Web Service page (http://xxx.com/service/), which gives me all the methods available. However, when I try to invoke a method, it goes to a web page like this one: http://x...

ASP.NET page methods vs web service

I am building a dynamic partial load asp.net page, I would like to use jQuery to call page methods or web service to retrieve the content HTML. page methods or web service, performance wise, which way is better? If I call page method, on the server side, does the page go through full lifecycle? Is there any good resources help me to b...

.NET: Is it possible to retrieve NetworkCredentials from Current.Request?

i don´t think so.. but is it possible to retrieve the NetworkCredentials from HttpContext.Current.Request (e.g. in a WebService-method) which where used to call the web-site hosting my webservice? ...

webservice JSON in different from SOAP ,XML-RPC,REST ?

which one best for iphone application ? JSON is different from these three webservice methods ? could you please suggest me.. ...

Web-services granularity with SAP project ?

In a project that comes as a third-app on top of SAP to extent its functionality thru SOAP web-services, I am wondering how should be defined the web-services themselves ; should we implement dozen of web-services that achieve simple & atomic actions, or very few web-services that takes a bunch of parameters and does all the thing. I am...

Can asmx services return nothing instead of null?

Hey all, I have a WebService I'm maintaining, running on .Net 2.0. It uses the original "asmx" file standard for a series of web services. In these web services, some objects are returned that have potentially a large number of "null" values. For example: <user id="1" name="foo" job="null" location="null" audience="null" /> This is a...

How to use WS-Security in C#?

How to create a web service in C# that uses WS-Security for encryption and signatures for both sides (requests and responses)? Client and server will use certificates. ...

Web Service and Properties in C#

Hi All, I'm quite new to Web Services. I've created a Web Serivce with a class like this: public class ClassA { private ClassB _varA; public ClassB VarA { get { if(_varA == null) _varA = new ClassB(); return _varA; } set { _varA = value; } } } Wh...

ESB Entry Points

Hi, I am trying to get a further understanding of message buses and one question that keeps coming up in my head is "how does the message get onto the bus?". Now, I assume there is a service (WCF, etc) of some sort that receives messages and puts them onto the bus. So then the other question I have is isn't this service then likely to b...

Flex Builder Import Web service errors in autogen code

Hi everyone, I'm trying to import a web service with the Flex builder feature (Data > Import Web Service). The process proceeds as expected and the classes are generated based on the web service description. The code is generated with compile errors in it though. There are 20 errors of 2 varieties. I've included a sample of the errors...

Can you set the maxlength of a string in WSDL generated by an ASP.Net WebService?

I am creating a web service in ASP.Net. I have looked and can't find any way of making ASP.Net set the maxLength attribute of string parameters in the generated WSDL file. Is this possible, and if so how can it be done? ...

Dependencies on external (web) services

I'm currently involved in a project where we are developing a large website that relies heavily on an external service (for some functionality) developed by another company. The external service occasionally breaks and doesn't provide us with the data that we need. This is a major problem for us since the requirements on "our" website ar...

Should I format my ASMX web service responses for AJAX server side or client side?

Two parts to my question: I need to format my web service responses for display on my web page. Should I use JavaScript to format the responses or given that it’s a .NET web service format the response as HTML and then simply push it down to the client? If I'm using JavaScript to manipulate the response, what datatypes should I avoid ...

Is request forwarding possible when using CGI?

I'm writing a small content server as a web service. There are 2 units - one authenticates the application requesting content and when authentication succeeds, the request is forwarded to the other unit that serves the content. [1] If I want to do this using CGI scripts, is there any equivalent of jsp:forward in CGI? [2] Suppose if fo...