473,903 Members | 5,705 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

calling a web service without an extention???

I have a friend that used a program called CICS2WS that created a WSDL to
allow our PC programs to retrieve mainframe data. In the WSDL that was
created, the <address locationtag only contains the URL for where the
service is located

<wsdlsoap:addre ss location="http://mydomain.com/services" />

However it also contains the tag
<wsdl:service name="MstrGet">

However trying to access the web service via
http://mydomain.com/services/MstrGet.asmx yields a Server error. Besides,
there is no indication that the program that generated the WSDL also
generated an asmx file. Can the actual WS file be determined without have
Does a web service have to have an asmx extension OR can it be a generic one
like .ABC? OR, does an extension have to be specified at all????. The URL is
the WSDL (as the web browser sees it) is just another sub directory. Ill
admit I’m not well versed in mainframe programming, but I’m trying to figure
out from the WSDL that got generated what the actual service to call from the
browser is. I’ve only ever seen something.ASMX. I don’t see how the browser
is supposed to know of a service without an file extension.

..NET Software Developer
Feb 21 '08 #1
1 1606
=?Utf-8?B?SlA=?= <JP@discussions .microsoft.comw rote in
news:71******** *************** ***********@mic rosoft.com:
Does a web service have to have an asmx extension OR can it be a
generic one like .ABC? OR, does an extension have to be specified at
all????. The URL is the WSDL (as the web browser sees it) is just
another sub directory. Ill admit I Tm not well versed in mainframe
programming, but I Tm trying to figure out from the WSDL that got
generated what the actual service to call from the browser is. I Tve
only ever seen something.ASMX. I don Tt see how the browser is
supposed to know of a service without an file extension.
Browsers determine content through MIME headers rather than file

Is the web service a .NET web service? The programmer may have created a
HTTP handler that does some URL mapping. It's rather straightforward to do,
but I'm not sure if it buys you very much. Maybe the programmer thought it
looks slicker...

sp**********@ro gers.com (Do not e-mail)
Feb 21 '08 #2

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

Similar topics

by: Jesper Olsen | last post by:
I have a python extention implemented in C/C++ - the extention itself is internally implemented in C++, but the interface is pure C, so that it can easily be called from a python C-wrapper. The extention is compiled with distutils, and this has worked well in both Windows and Linux environments. Now, however, I get an
by: Atul Kshirsagar | last post by:
I am embedding python in my C++ application. I am using Python *2.3.2* with a C++ extention DLL in multi-threaded environment. I am using SWIG-1.3.19 to generate C++ to Python interface. Now to explain it in details, 1. Python initialization and finalization is done in the *main* thread. 2. For each new thread I create a separate sub-interpreter . 3. Using PyRun_String("import myModule"...) before execution of python
by: Carl Ogawa | last post by:
How do I make .cgi extention work? I installed ActivePerl 5.8. My CGI scripts work fine with .PL extention but not .CGI extention although I associated CGI extention as exactly same as PL extention in WinXP Prof . Where else should I change to make it work?
by: Smoke | last post by:
We had a javascript calling a Cold Fusion page (.cfm) and it was working for 2 years. Suddenly yesterday or today its decided it doesn't want to work anymore. I'm picking up somebody elses code I don't know all of the rules here. All of the examples I've found really want .JS files if called with a script tag, example below. <script src="http://www.website.com/javascripts/xxx.js"> </script>
by: Glenn A. Harlan | last post by:
Why am I receiving the below error when calling - Path.GetTempFileName() The directory name is invalid. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.IO.IOException: The directory name is invalid.
by: Bucky Pollard | last post by:
I have a web service that needs to create a batch file and call it (since there are no APIs for the functionality I am looking for). I am using the Process and ProcessStartInfo objects. When I try to call the batch file, it just returns with a return code of 1. When I call cmd.exe, and pass the batch file as a parameter it hangs. After much frustration and aggrevation, I found that CMD IS in fact running, but it is running under the context...
by: jimmyfishbean | last post by:
Hi, I am using ASP.NET (framework 1.1), Windows 2003, IIS 6.0. I have a VB.NET web service client that connects/calls a web service written in ASP.NET (both applications are installed on the same server). When the web service is installed in the Default Web Site within IIS, the web service client has no problems connecting/calling the methods of the web service.
by: | last post by:
I'm trying to think something through and am wondering if may have some suggestions. I am building a Windows service (VStudio 2005, C#) that uses a COM component to answer a telephone call(s). The aqpplication uses 6 trunk channels for the lines. What I need to do is initialize all 6 lines and set the event handler to witfor/answer the call. I have to pass the trun kchannel to this thread as a parameter. Then, when the phone rings on...
by: dlbriggs1729 | last post by:
I am wrinting a data service to access and update a datset. I am having problem when I try to add a SqlConnection to a web service. Using C# in VS 2005 I started a new web service project. Then I made a new Sql server data base and added one table I also added some data. So far so good. The data base shows up in the Server Explorer (with a .dbo extention) and I can look at the data. But I get no auto- generated code when I drag and drop...
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, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
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...
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...
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();...
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
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
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.