What do non-.net users need to do to consume a .net web service?


I'm very new to web service world and haven't had much chance to do much reading on theory and architecture yet.
So I'm asked to create one for someone external to my organization (still inside my company). I make one, test it, deploy it, consume it. Go me. It was very easy within my comfortable .net shop. However, the intended consumer is not a .Net shop (J2EE).
I was under the impression that if I sent in a GET request to the asmx file, I would get XML back. This turned out to be not the case and I had to use the proxy file to prove that I could consume the service. So my fragile understanding of XML services is destroyed.
What should I provide them non-.NET clients? The path to the asmx file? And for non-.NET clients, is it required that I create the proxy class? I can't imagine that it would be as simple as adding a web reference for them, could be wrong though...
Insight and info much appreciated.

6/8/2004 1:53:04 PM
asp.net.xml-web-services 7071 articles. 0 followers. Follow

5 Replies

Similar Articles

[PageSpeed] 54
Get it on Google Play
Get it on Apple App Store

If the client is using the webservice from a web-based application, they can use javascript to communicate with it. Check out my post at this forum

-Jeff Evans

Programmer Analyst

Triton Management Group, Inc.

6/10/2004 5:21:41 PM
Anything that can talk HTTP and dissect XML can speak SOAP. Notice that when you browse to the .asmx file it spits out all the functions you have exposed. Click on the function and you either get a test form or a full description of the ins and outs of the soap envelope requied and returned.

If they were using an http connection you should be able to cut, modify and paste this envelope information into the connection to the web service and see the results come back in the described way. Non .NET clients can still use the Web Service through a SOAP library, for example gSoap is a big help for c/c++ developers. PHP, perl and other languages contain built in SOAP support.

edit: changed tcpip to http
6/11/2004 9:04:31 PM
If you need them to access via a GET, you should be able to add a web.config entry - it is disabled by default except when accessed via localhost


<add name="HttpGet" />
6/17/2004 3:08:52 AM
Is it necessary that you have a proxy for this? Is it geared towards web-based applications? Or windows based?
-Jeff Evans

Programmer Analyst

Triton Management Group, Inc.

6/17/2004 4:17:00 AM
Are your clients Java based?
6/17/2004 2:14:02 PM

Similar Artilces:

How to call a .net web service from another .net web service?
Hi all,I have developed two asp .net web services using visual studio .net 2003.I wish to call one web service from another web service.I tried adding a web reference of the web service in another web service and was able to do so.but i m not able to access the web methods provided by the web servicecould you please suggest a way to go about itExpecting quick replyThanxCharmy try to make sure that you reference it in the web reference and call it properly this is sample  [WebMethod()] public double CalcDistance(int x1, int y1, int x2, int y2) { Calculator.Service1 calc = new...

.NET Web Service and Non .NET programe
When we develop a web service by VB.NET. Then i use visual basic, Microsoft access, asp. Can these stuff access to my web service ? Means you want to access Webserver developed in VB.NET in ASP application?Sreedharhttp://www.w3coder.orgweblog http://weblogs.asp.net/skoganti...

Web service in .NET from Java Web Service
Hi there,I'm pretty new to .net (although i have years of experience with the old vb 6, access 2k, as well as java)... and need some with perhaps either some syntax or something.Here is the wsdl.<wsdl:definitions targetNamespace="http://www.dynix.com/schema/book">−<wsdl:types>−<schema targetNamespace="GetBookInfoByISBN">−<complexType name="BookInfoType">−<sequence><element maxOccurs="1" minOccurs="0" name="Title" nillable="true" type="xsd:string"/><element maxOccurs=&quo...

I develop in .net and need to create a web client to connect to a web service built in Java. http://xchainj.com:8080/axis/services/ScsEnvirodatWaterQualityIndexServiceSoap Its pretty easy when the web service was also built in .net. You can just create a web reference with the gui and automatically can see its functions and stuff. when i put this url in the box and hit go i dont get to see its functions. maybe this shouldnt be the url of the WSDL?? I Have no idea. Im very new to all of this. If there are any examples of .net clients connecting to non .net web clients it woul...

Can you return .net web controls in a .net page from a web service?
I've got a problem with a project. I've got to compile an entire .net page and return it as part of a Web Service for display. The problem I have is that I need to add WebControls and functionality to the page so that not only the html content and images are displayed (which I've managed) but that textboxes, labels, buttons and datasets can be displayed also. Essentially I need to make a call from one site for a page, populate the page and return it in a state as though it resided on the same server/webspace as the calling page. Code is currently built as follows into a string: strOpenHT...

.NET web services Vs Java Web Services
Hello, does anyone know of a book or good source of information that compares .NET and Java Web Services? (I would like soemthing neutral if possible). I am thinking of approaching this subject for my dissertation? Many Thanks Rob Hi Rob, Last year I had to give a powepoint presentation on Web Services. I noticed some good books at barnes and noble that discussed the subject. These books were specific to Java and discussed Web Services in a very clear fashion. They gave some elementary examples that were easy to understand. I have not yet had the pleasure of creatin .NET Web Servi...

Can WSE 3.0 Web Service be exposed to the web and can it be consumed by non .Net apps?
If I write a WSE 3.0 web service in .Net 2.0, can I expose it to the web like an IIS XML web service.?Also, can this web service be consumed by non .Net apps or .Net 1.1. apps?sun21170 Yes, simply enable your web service project for WSE 3, and this will alter web.config to support WSE 3 web services in IIS.The web service can be consumed by non .Net clients, however .Net 1.1 clients may struggle unless you add WSE support ans generate specific WSE proxies at the client end.  JamesMy Blog: http://www.wintersfamily.plus.com/blogs/JamesWinters...

Issue with clients consuming a web service that was upgraded from .NET 1.1 to .NET 3.5
I am currently working with an application that was converted from Visual Studio 2003 to Visual Studio 2008 and we are having issues with a client consuming the web service portion of the application.  The web services were written in .NET 1.1 using the Web Services Enhancements 2.0 and was upgraded to use the .NET 3.5 framework.  One of our clients application, which is still written in .NET 1.1 was reference the upgraded web service and tried to consume the web service and received the following error: System.Web.Services.Protocols.SoapException: Se...

Consuming Web Service in .NET [Need Help]
  I have to consume a web service. I have a sample web service what returns back the set of city, state, country and zip on passing zip code. Here is the URL: I am able to pass zip code to the web service and can also see the hit on web service and the data being created in SOAP form. But when i am trying to get the same in return using my .NET app it is giving me errors and passing NULL. Can any one resolve this? Or help me understanding what is happening here? I have given Web Service URL above. And following is my code that i have written....

Consuming .net xml web service in PHP
I have developed .net xml web service. I want a develope php client to access this web service. I dont have much knowledge about PHP. The web service i wrote accepts two string parameters FirstName and LastName, and returns string like Welcome (FisrstName)__(LastName) to web service. The sample php client code i am trying is as below: <?php require_once('nusoap.php'); $parameters = array ("FirstName"=>"Russel", "LastName"=>"Arnold"); // Create a new Soap object $soapclient = new soapclient('http://testwebservice/Servi...

Best Practice for .Net Web Service access to a Web Service on a Test and Production Servers
Hello All, What is the best way to control a .Net web service to be able to access a remote server for testing and then point to another remote server to access the web service in production? Do I need to generate and maintain 2 different proxy objects? TIA, Bob Bob // first create the proxy if not isvalid( i_service) then i_service = create fundtraderproxy_TradeServicesClient_BasicHttpBinding_ITradeServices end if ///You'll see code something like this in the constructor of your proxy //dynamically set the endpoint url with the user supplied value - //r...

.NET Web Service Proxy (EasySoap vs .NET)
Greetings all, I was provided with a URL for a web service that is password protected. I saved the WSDL file from the browser and am attempting to create a .NET Web Service Proxy to use it. When I select EasySoap for the 'Web Service Selection', I see one service ('Services') and five 'Structures' (which is the number of 'methods' that I am expecting to see). But when I select .NET, I still see one service (named differently) and only one structure. Four of the structures are missing. Is there something else I need to do to view the four ...

Consuming a .NET web service in Delphi 2010 using a service reference
Hi, I've been asked to modify one of my existing applications (D2010 Win32) to interact with a web service written under VS2010/.Net 4. The information I have so far is :- "As communication is secured by .NET WsHttpBinding data encrypting, In order to consume it you have to add to your application a Service Reference (not a web reference) that joins the service available at the URL: http://ctm.mobilling.it/SmsComApi/Sms.svc . Assuming that the binding created in your app.confing is named "WSHttpBinding_ISms" you have to instantiate a client as shown below: {c...

Non-Microsoft Client Consums .Net Web Service
Hi, I am trying to create a non-microsoft client (java) to test my .net web service. Any comments, good articles about it? Thanks in advance It should "just work". Try as much as possible to return objects of primitives and arrays of objects or primitives, no dataset or whatever (it can be made to work, but there are possible pitfalls). If the java client use Axis, it will work fine. Its even easier if you use Windows Communication Foundation, since its even easier to make WS-I compliant services, which virtually any client will be able to eat up just fine. But still, ...

Web resources about - What do non-.net users need to do to consume a .net web service? - asp.net.xml-web-services

United States Department of Health and Human Services - Wikipedia, the free encyclopedia
The United States Department of Health and Human Services ( HHS ) is a Cabinet department of the United States government with the goal of protecting ...

The Beatles arrive on Apple Music, other streaming services
... Beatles’ catalog has arrived on Apple Music on this Christmas Eve. The Fab Four’s music is also playing on other major music streaming services, ...

In the end the Beatles finally come to streaming services
It's been a long and winding road to get the Beatles on your devices and streaming services, but you've finally reached your destination and ...

New online service seeks to shake up Seattle's office leasing market
... tools, such as a new one called Crelow. The Minneapolis-based startup, which launched in Seattle Wednesday, bills itself as matchmaking service ...

The Beatles discography will be on streaming services as of Christmas Eve
... any music fan can get excited about. As of 12:01 AM local time on Christmas Eve, The Beatles' entire discography will be on streaming services ...

How video streaming services are changing the future of TV
... created, distributed, and monetized. This shift has been brought on by the rising popularity of over-the-top content and video streaming services. ...

Favorite apps and services of 2015
Save time and money with our Windows editor's favorites: Android Pay, Google Fi, PlayStation Vue, and Windows 10.

College Financial Service Provider Higher One To Pay $28M In Fines, Refunds For Misleading Students
Higher One, Inc. promises to help students reach their goal of achieving a degree by providing money management and refund services. But federal ...

The Beatles Hit Music Streaming Services at Midnight Tonight
Announced this morning, The Beatles are finally, finally hitting music streaming services across the globe, and yes, this includes Google Play ...

Google Testing Password-Free Log-ins to Online Services
Google's goal is to curb phishing and other attacks that involve the use of passwords to gain access to accounts and exploit them.

Resources last updated: 12/25/2015 4:48:15 AM