473,396 Members | 1,997 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

describing a webservice

When I build a .Net Webservice and I browse to:
http://localhost/ws/s.asmx

I get a nice page with a list of operation that are supported in my
webservice. When I browse to:
http://localhost/ws/s.asmx?WSDL
I get a nasty XML file that is not human readable (If you want to say
that!!!)

Even better, when I browse to:
http://localhost/ws/s.asmx?op=HelloWorld
I get a page that has an example of the soap message that i should be
sending to the server...

Now, I want to be able to describe a web service in this way, but I
don't have access to that server. I just want to look at their WSDL,
and come up with a nice page of functions, parameters, and message
format to send like the one at
http://localhost/ws/s.asmx?op=HelloWorld.

What xml elements should I be looking at to create a nice page like
that? I tried to check the source code of s.asmx, but nothing is in
there!

Please let me know if you understand what I want to do, and if you have
any suggestion...

Tascien

Feb 21 '06 #1
2 1057
DefaultWsdlHelpGenerator.aspx is the page that you see when you browse an
asmx file. So you need to start by understanding how that does what it
does.

Take a read of this for some pointers.
http://www.15seconds.com/issue/040609.htm

--
Regards

John Timney
Microsoft MVP

"tascien" <ta******@ecoaches.com> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...
When I build a .Net Webservice and I browse to:
http://localhost/ws/s.asmx

I get a nice page with a list of operation that are supported in my
webservice. When I browse to:
http://localhost/ws/s.asmx?WSDL
I get a nasty XML file that is not human readable (If you want to say
that!!!)

Even better, when I browse to:
http://localhost/ws/s.asmx?op=HelloWorld
I get a page that has an example of the soap message that i should be
sending to the server...

Now, I want to be able to describe a web service in this way, but I
don't have access to that server. I just want to look at their WSDL,
and come up with a nice page of functions, parameters, and message
format to send like the one at
http://localhost/ws/s.asmx?op=HelloWorld.

What xml elements should I be looking at to create a nice page like
that? I tried to check the source code of s.asmx, but nothing is in
there!

Please let me know if you understand what I want to do, and if you have
any suggestion...

Tascien

Feb 21 '06 #2
Great. I've looked at that file, I am able to easly extract the
operations...

but i can't get the parameters and soap post examples like you get when
you do
?op=HelloWorld
the code there is a little cumbersome. Any pointers?

Feb 22 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: DraguVaso | last post by:
Hi, I'm new to WebServices, and I'm doing some tests (with a small VB.NET-application) to know the performance-difference between a WebService and the 'normal'-way of getting data (just...
6
by: Davie | last post by:
I want to authorise a user of a web service by using the AuthHeaderValue for some reason I keep getting a null reference exception when I try to run the following code: It seems to work fine on a...
1
by: Nalaka | last post by:
Hi, I am testing with Visual studio 2005, web projects. Situation: I have one solution with two web projects, created as file system projects. (I am tesing using the built in server, not IIS)...
2
by: Miguel | last post by:
Hi, I'm developing an application in C# with Windows Forms for my company that is similar to the MSN Messenger. This application uses a webservice for registering users, etc... and as 2...
7
by: Alessandro Benedetti | last post by:
Hi. I'm calling two methods of a .NET Webservice (A) from another Webservice (B). The A Webservice is made like this: public class WSA: System.Web.Services.WebService { private int X = 0;
7
by: Nalaka | last post by:
Hi, I created a sinple web service that returns a dataSet. Then I created a client program that uses this web service (that returns the Dataset). My question is, how did the client figure...
5
by: AliR | last post by:
Hi Everyone, I have a Visual C++ MFC program, and I am trying to use a webservice written in C#. When I add the webservice to my project using Add Web Reference the sproxy compiler complains...
5
by: | last post by:
Hi, How long do webservice objects live for? In particular, if i have static variables filled with data from a static constructor in a webservice, how long will that data persist? thxs
0
by: =?Utf-8?B?TWFuaQ==?= | last post by:
Hi All, Problem in deploying my WebService developed using Asp.net WebServices 2005. I have designed simple WebService using Asp.net Webservices 2.0 , The webservice look this , using System;...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.