Re: WEB query on Fujitsu Cobol





"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."


.



Relevant Pages

  • RE: Breakpoint on a web service
    ... First let us clarify how the website works. ... hosted in a web server process. ... Development Server in Visual Studio, Visual Studio will create built-in web ... I suppose that your website and web service are all ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Dataset / Pacifice Timezone Question
    ... >>>I have a Web Service on a Web Server on the East Coast ... >>> different time zone, the datetime columns have ... >>> between server and client. ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: MFC Question
    ... >I basically have to another layer for the conversion to my app. ... >seems that I don't necessarily have to make a web service as I can simply ... If you have a web server that is external to your ... Good luck, Russ ...
    (microsoft.public.vc.mfc)
  • Re: How to create a Web Server?
    ... web service" which are quite different problems. ... A Web server is, in general, a fairly ... connection is established on the socket, you now have a connection on which you can send ... Select a camera from a list of all cameras ...
    (microsoft.public.vc.mfc)
  • Re: How to return a request from a Web Service
    ... Web Services aren't typically "consumed" straight from a browser. ... from an internal server to a location on the web server to make it available ... > The web service is invoked using the HTTP POST protocol. ... on the web server until the user made the request. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)