For Programmers: Free Programming Magazines  


Home > Archive > Cobol > September 2007 > Web Service









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Web Service
Rene_Surop

2007-09-25, 7:55 am

Tried several web services in my Cobol (microfocus) program using an
example URL link as below;

http://myxml.thisissample/serverside.WSDL

and it works all the time. The server-side (SOAP) WSDL file will do
the thing for me. But just lately a friend of mine ask if I could do
the same for a .NET framework server that has the below URL;

http://myxml.thisissample/serverside.ASMX

Considering I passed the "required" function with fields or parameters
in my Cobol program, and INVOKE the url with "asmx" extension, will it
produce the same output as my wsdl file?

Rene_Surop

2007-09-27, 9:55 pm

Just to rephrase my query above, it may not be clear.

I usually invoke SOAP (Web service) using WSDL file extension, now a
friend of mine says that they have a .NET platform server that uses
ASMX file extension instead.

Do not know exactly how ASMX works, search the internet about it and
it tells me it is the same technology as WSDL SOAP but the problem is
how to access ASMX. Would it be the same as the WSDL file extension?

And another thing, what is the maximum data (in length/bytes) that can
be pass to a WSDL?

Reference topic here: Web Service (Retouch)

Judson McClendon

2007-09-28, 7:55 am

"Rene_Surop" <infodynamics_ph@yahoo.com> wrote:
> Just to rephrase my query above, it may not be clear.
>
> I usually invoke SOAP (Web service) using WSDL file extension, now a
> friend of mine says that they have a .NET platform server that uses
> ASMX file extension instead.
>
> Do not know exactly how ASMX works, search the internet about it and
> it tells me it is the same technology as WSDL SOAP but the problem is
> how to access ASMX. Would it be the same as the WSDL file extension?
>
> And another thing, what is the maximum data (in length/bytes) that can
> be pass to a WSDL?
>
> Reference topic here: Web Service (Retouch)


I'm not a .NET guru, but I have done some web service applications with
Visual Studio 2005. ASMX is simply the web service extension for ASP.NET
web service pages, as ASPX is the extension for ASP.NET web pages. You
still use WSDL, SOAP and XML in the same way. Other than the "ASPX" in
the web service URL, I don't think a web service client would know the
difference. Hope this helps.
--
Judson McClendon judmc@sunvaley0.com (remove zero)
Sun Valley Systems http://sunvaley.com
"For God so loved the world that He gave His only begotten Son, that
whoever believes in Him should not perish but have everlasting life."


Rene_Surop

2007-09-28, 9:55 pm

Thanks Judson.

Im going to try executing my Cobol code anyhow by invoking an "ASMX"
file extension instead of the usual WSDL url file that I'm using. I
wont change Cobol codes for the meantime.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com