Re: WEB query on Fujitsu Cobol
- From: "Pete Dashwood" <dashwood@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 26 Oct 2008 00:54:53 +1300
"Massimo Morgia" <massimo.morgia@xxxxxxxxxxxxxxx> wrote in message
news:%zAMk.89369$Ca.20611@xxxxxxxxxxxxxxxxxxxxx
Hello Pete,
I use the Powercobol V8.0L10,
I have a good knowledge of designing a website with Dreamweaver Studio 8,
I have a website available remotely. I have a request from a my client who
has a local network(Powercobol appication) to make available certain
information about WEB. Remote Users should consult our product
availability of stock and entering new orders for goods.
I need advice if this process can be implemented with the Fujitsu (Ad the
best way to make it) or I have to use another environment.
Best Regards,
Massimo.
OK.
I know English is not easy for you but I'm having some trouble determining
exactly what you mean.
"make available certain information about WEB" is problematic for me. Do
you mean to make certain information available on the Web (Internet) or is
WEB a software application you want to disseminate information about? Lets
try a different approach...
Correct me if I'm wrong:
1. You have a client who has a PowerCOBOL application that runs on a local
network.
2. The application has information about stocks and orders.
3. You want remote users to be able to access the information on the local
network, via the Web.
If these assumptions are correct, then yes, you can do it with a combination
of server side ISAPI or CGI code written in Fujitsu COBOL, Web page front
ends written in whatever you like (I would use ASP.NET but I'd be using C#
for code-behind rather than COBOL for CGI/ISAPI),
and a portal from the network to the web server, which could be written in
almost anything, even PowerCOBOL. Why don't you consider a Web Service for
this?You can write it in NetCOBOL and SOAP, but I don't know if Fujitsu have
specific support for Web Services in Version 8. If not, you could write your
service as a NetCOBOL COM server and invoke it from a Wrapper running on
your web server. The wrapper takes care of the WSDL and SOAP generation (I
have a service that works exactly like this, and can give you code samples.)
My Web service is around 4000 lines of Net COBOL and takes free format
postal addresses as input, reformattting them into NZPO approved formats and
assigning correct Post Codes (ZIPs) to them. You can test the service from
this link: http://primacomputing.co.nz/AVSWebSite/DemoInteractive.aspx
There are sample addresses you can cut and paste or, if you have friends in
New Zealand, try entering their address.
You can view the Web Service definition from this link:
http://primacomputing.co.nz/AVSWebService/AVSWebService.asmx (Click the
'Service Description' link to see the WSDL XML.)
Fujitsu supports CGI, NSAPI and ISAPI for Web programming. There are manuals
for NetCOBOL Web Guide and NetCOBOL Web Subroutines. I have used CGI and
ISAPI, but not the subroutines ( I use version 6 and I have a feeling they
are not available in that version.). ISAPI is multi-threaded and much less
resource hungry than CGI, but CGI runs on almost any Web Server. (ISAPI is
limited to IIS as far as I know.)
I would go for the Web Service. If you have Visual Studio it will generate
all the WSDL and SOAP XML for you. I used C# as a wrapper for my service,
but you could use nearly anything.
Hope this helps,
Pete.
--
"I usd to write COBOL...now I can do anything."
.
- References:
- WEB query on Fujitsu Cobol
- From: Massimo Morgia
- Re: WEB query on Fujitsu Cobol
- From: Pete Dashwood
- Re: WEB query on Fujitsu Cobol
- From: Massimo Morgia
- WEB query on Fujitsu Cobol
- Prev by Date: Re: Dashwood
- Next by Date: Re: Dashwood
- Previous by thread: Re: WEB query on Fujitsu Cobol
- Index(es):
Relevant Pages
|