web-services

Getting Better Error Message From ASP.Net [WebMethod] Called From JQuery

[NOTE:I am really looking for some good debugging techniques here. Perhaps some tricks or ways to simplify things of which I am unaware.] I am using the technique of calling [WebMethods] defined in an ASPX page from JQuery as mentioned here and here. It seems to be an increasingly common method. I've been using it for a while and, in g...

How to config IIS in Windows XP SP2

Hi everyone, new to IIS. I have two questions: After installing IIS, I straightly wen to my browser and typed in http://127.0.0.1. But a user name and password dialog box pops up and I have no idea what to type in. Why IIS asks this information? How can I remove this asking. I want to put a web service under IIS. The web service is wri...

Debugging Web Services in Visual Studio

I am trying to use sample FedEx Web Service code written in VB.NET to retrieve shipping rates. The call returned rate information, but it returned rates that are way too high and do not match those shown on their web site for the same shipping parameters. Their support team is willing to investigate the discrepancy if I can provide the...

.NET: Can you manually specify which types to include in autogenerated WSDL?

Is it possible to make the auto-generated WSDL for a .NET web service include descriptions for certain data types if no web method returns that data type of takes that data type as a parameter? I could just include a dummy webmethod that never gets called, but I'm looking for a less hacky way. Thanks! Mike ...

Constrain the consumption of a web service to certain apps

Is there a way I can configure my asp.net web service to work with only some applications? In other words, I am saying "only these applications have access to this web service and can therefore use it. Others can't". When other applications tries to discover the service, it shouldn't even show up, or at least it should conceal it web me...

What is the best way to "fake" DELETE and PUT methods using JAX-RS?

I've just started to use Jersey to create a RESTful API for my site. Its a wonderful change from having to roll my own support for RESTful services in Java. One thing I just can't seem to figure out is how to "fake" a DELETE and PUT method. Jersey supports the annotations @PUT and @DELETE, however many Load-Balancers will not allow th...

.NET Web Services without ASP.NET/IIS?

I'm implementing a server component that needs to expose a web-service interface, but there is no application need for it to run with ASP.NET on IIS. Is there a straightforward way to implement Web Services in .NET without ASP.NET/IIS? (I'm using .NET 3.5 / C# 3.0) ...

How to call a .NET web service with Kerberos (or NTLM) authentication from Oracle PL/SQL

We are calling a .NET web service from our oracle database using the sys.utl_http package. We have also tested with the sys.utl_dbws package. This works fine when there is no security on the .NET web service. However, we would like to use sys.utl_http or sys.utl_dbws to call a .NET web service with Kerberos or NTLM authentication. We'r...

are twitter web services "discoverable"?

Let me know your thoughts... ...

Using Java Webservice in .NET

I am working on integrating a .NET application with a Servlet based Java application called Hermes2 (H2O). The Java application exposes several Web services, and I am trying to create Web References to these in Visual Studio 2008. However this only results in an empty proxy, commented with the error message: "CODEGEN: The operation bindi...

tns not resolving correctly through webservice

Hi all, I realise there are some similar questions on here already but I couldn't see one that matched my problem so I'm afraid I had to ask a new question. I have a webservice running on a server, which is throwing a ORA-12154: TNS:could not resolve the connect identifier specified" error. However when I log onto the said server i am ...

Need a lightweight web server for Windows XP Home

I need recommendations for a "light weight web server" to be ran on a Windows XP Home edition system to host a small web service (not web pages - but web service). The web service can be written in either .NET or Java. The Windows XP Home system will serve up the web service to clients consuming the service. Any suggestions? (before i...

How can I add WSDL <types> restrictions programmatically?

Hello. Where I work, we have a policy in place that states we should try to build web services "bottom-up" (code-first). When doing this, how can I add restrictions within my XSD <types> WSDL element? For example, in the following: import javax.jws.WebService; import javax.xml.ws.BindingType; @WebService @BindingType(javax.xml.ws.soa...

WSDL handling practices for external service

I have a project where it's dependent on Oracle Hosted web services (not WCF). I have a copy of the WSDLs for the services and their correlated XSDs. What is the proper way of generating the proxies and datacontract assembly for this? I started with XSD.exe /c /language:CS user.xsd For each of my xsds. This generate a bunch of class...

Consuming .NET Web Service with Dojo Javascript Library.

How do I consume a .NET Web Service using Dojo? I believe I have the web service serializing its output as JSON but I'd like an example if anyone knows of one. Thanks! ...

Why and when to use EJB-based web services?

To transfer data from one system to another, through data interface, by web services, we normally get a result set by SQL query, and format them as a web service endpoint, and allow it to be retrieved by another side. With EJB 3.0, it seems we can replace the result set by stateless session bean. So are there any advantages over the SQL...

Webservice/Entity objects or datareader for my winform app?

Is it best to use a webservice to pull data from a database and load it into my entity object, then send the entity objects to my winform app? Will this make any performance difference over going direct to the database and pulling a datareader back to the winform client, then loading the entities on the client? Some of the users will b...

Make GWT interact with ASP.NET Web Service

Does anyone know of a good article or tutorial on the Internet demonstrating the use of GWT leveraging a (ASP.NET) web service cross domain? To my knowledge, interacting with either XML or JSON should be possible from GWT, but becomes a lot more difficult when the web service is on a different domain. I've tried finding an article that ...

How do I access the properties of a JSON Serialized object.

In my JavaScript I want to access the properties of a JSON serialzied object that was produced via a .NET web service. How do I deserialize the JSON data into an object that I can maniuplate in the JavaScript? ...

Adding ASP.Net form to an existing deployed ASP.Net Web Application

I have an ASP.Net web application that is deployed to a number of different customer's servers and hosted within IIS (6 or 7 depending on the site). The system is based around a set of fairly complex ASP.Net (aspx) pages. Due to rapidly changing requirements we often have to add forms to the system. At the moment we use a fairly clumsy a...