469,925 Members | 1,493 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,925 developers. It's quick & easy.

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:address 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
..asmx?
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.

--
JP
..NET Software Developer
Feb 21 '08 #1
1 1477
=?Utf-8?B?SlA=?= <JP@discussions.microsoft.comwrote in
news:71**********************************@microsof t.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
extensions.

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**********@rogers.com (Do not e-mail)
Feb 21 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Jesper Olsen | last post: by
1 post views Thread by Carl Ogawa | last post: by
4 posts views Thread by Smoke | last post: by
1 post views Thread by | last post: by
1 post views Thread by dlbriggs1729 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.