473,763 Members | 7,727 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Generate wsdl from http

Hi,

I need to consume a web service, but have only been given the http address
e.g.
"http://placea/xyz.COM:8080/myprog1". I would like to generate a wsdl and
use it to reference this web service in ".Net" (C#) or any other way that
will allow me consume the web service in ".Net".

Thanks for the help.
Aug 3 '06 #1
3 3238
"Haxan" <Ha***@discussi ons.microsoft.c omwrote in message
news:9B******** *************** ***********@mic rosoft.com...
Hi,

I need to consume a web service, but have only been given the http address
e.g.
"http://placea/xyz.COM:8080/myprog1". I would like to generate a wsdl and
use it to reference this web service in ".Net" (C#) or any other way that
will allow me consume the web service in ".Net".

Thanks for the help.
If this were an ASP.NET web service with default settings, then adding
"?WSDL" to the end of the http address would work. However, there's no
general way to get a WSDL file from a web service; they really need to send
you the WSDL.

John
Aug 5 '06 #2
Actually this web service was created using cobol mainframe and apparently
doesn't have a way to create a wsdl. The web service is normally
accessed(consum ed) from VB Scripts. Since I need to call this web service
from .Net (C#), Im trying to figure out how to reference it. Will appreciate
any suggestion.

Thanks for your help.
Haxan

"John Saunders" wrote:
"Haxan" <Ha***@discussi ons.microsoft.c omwrote in message
news:9B******** *************** ***********@mic rosoft.com...
Hi,

I need to consume a web service, but have only been given the http address
e.g.
"http://placea/xyz.COM:8080/myprog1". I would like to generate a wsdl and
use it to reference this web service in ".Net" (C#) or any other way that
will allow me consume the web service in ".Net".

Thanks for the help.

If this were an ASP.NET web service with default settings, then adding
"?WSDL" to the end of the http address would work. However, there's no
general way to get a WSDL file from a web service; they really need to send
you the WSDL.

John
Aug 7 '06 #3
"Haxan" <Ha***@discussi ons.microsoft.c omwrote in message
news:90******** *************** ***********@mic rosoft.com...
Actually this web service was created using cobol mainframe and apparently
doesn't have a way to create a wsdl. The web service is normally
accessed(consum ed) from VB Scripts. Since I need to call this web service
from .Net (C#), Im trying to figure out how to reference it. Will
appreciate
any suggestion.
I suggest that they give you a WSDL, even if they have to build it "by
hand". Even for a mainframe, they can't expect people to access a web
service which has no description!

John

Thanks for your help.
Haxan

"John Saunders" wrote:
>"Haxan" <Ha***@discussi ons.microsoft.c omwrote in message
news:9B******* *************** ************@mi crosoft.com...
Hi,

I need to consume a web service, but have only been given the http
address
e.g.
"http://placea/xyz.COM:8080/myprog1". I would like to generate a wsdl
and
use it to reference this web service in ".Net" (C#) or any other way
that
will allow me consume the web service in ".Net".

Thanks for the help.

If this were an ASP.NET web service with default settings, then adding
"?WSDL" to the end of the http address would work. However, there's no
general way to get a WSDL file from a web service; they really need to
send
you the WSDL.

John

Aug 8 '06 #4

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

Similar topics

1
9904
by: ffhansix | last post by:
Hi, I am having problems with generating a c# proxy class from a IBM websphere WSDL file, when running the wsdl.exe to create the c# proxy file command i recieve an error: Warning: one or more operations were skipped. Warnings were encountered. Review generated source comments for more details.
0
1186
by: Casper Bang | last post by:
I set up a Document-Literal(wrapped) WebService on a Oracle container (J2EE 1.4/JAX-RPC) and made a basic method which I can invoke from a browser or Java client. Java prototype: public org.w3c.dom.Element getIsPrime( org.w3c.dom.Element); My goal is then to be able to access it from .NET client as well for true interoperability. I used MS's wsdl tool to generate the C# stub. The stub works for simple method calls where a string is...
1
5053
by: Mike Logan | last post by:
I have a schema that defines my messages and objects. I then have a WSDL that defines the web services. I have my sample XSD, sample WSDL, and the code generated from WSDL.exe. In the generated code from WSDL.exe, the "applicationList" object is not a array or "application", which is what it should be, correct? Thanks for the help. <?xml version="1.0" encoding="utf-8" ?> <xs:schema targetNamespace="http://me.com/xml/xsd/AppSec1.xsd"
0
5115
by: Richard Gregory | last post by:
Hi, I have the wsdl below, for an Axis web service, and when I select Add Web Refernce in Visual Studio the proxy is missing a class representing the returnedElementsType (see reference.cs below the wsdl). This complex type is a collection of another complex type(elementType), and the Reference.cs has an array of these rather than the single returnedElementsType. If If I want to be able to obtain these elements from the SOAP response I...
3
1676
by: John | last post by:
I want to generate .NET test client from WSDL in Visual Studio.NET. After I have added web reference with the remote WSDL URL, I used Google WSDL http://api.google.com/GoogleSearch.wsdl here. I press F5 to start the test client, and it lanuches http://localhost/GoogleWSProj/Service1.asmx in the web browser, but the problem is that it doesn't show the web services operations. I expect it will show all web services operations, and allow the...
0
2552
by: taylorjonl | last post by:
I am having a problem generating some soap proxies dynamically using almost the exact same code as in the MSDN sample. http://msdn2.microsoft.com/en-us/library/system.web.services.description.webreference(VS.80).aspx It has very few differences, mainly I had to manipulate the document to remove the Any tags that caused 400+ validation warnings but even after getting the WebReference object ValidationWarnings to 0, it says...
7
5880
by: beachdog | last post by:
I'm using Visual Studio 2005/C# to build a web client. The web server is something I've written in a different framework, which does not support generating wsdl, so I have hand-built a wsdl file, then created my proxy class by running wsdl.exe. The problem is that the SOAP message that the client generates contains an empty namespace for the parameters in my message, instead of the namespace I intended it to have. I am guessing it is...
5
70509
by: =?Utf-8?B?a3Jpcw==?= | last post by:
I created a simple webservice .asmx on Visual Studio 2005. As I plan to deploy it to Sharepoint Portal 2003, I copied asmx to \web server extensions\60\ISAPI directory of the server, where all other general webservices reside. Everything is just fine - i can access the service with the browser, method list is displayed as well as help texts for them. my question is - how do I generate .wsdl and .disco files for the service? I read...
0
1382
by: mmaslar | last post by:
Can Visual Studio ('05 or '08) generate a WSDL file with an external Schema file? eg. Instead of placing the schema within the WSDL file, generate it in a separate XSD file? In other words... When I browse to the WSDL (http://localhost:4444/WebService1.asmx?wsdl) the schema is inline. I'd like it to be external. Any way of doing that? Yes I know the net result is the same, but this WSDL will become the "contract" for other systems -- and an...
0
9563
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9997
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9937
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9822
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7366
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6642
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5405
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3917
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3522
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.