Wiki Page: Visual COBOL - JVM Web Services Portal
This document is a portal into the Micro Focus community documentation on JVM COBOL web services. Web Services in Visual COBOL 2.1 This section covers the web service tutorials, technologies and best...
View ArticleForum Post: RE: Regarding exposing webservice
Hi Chris, Thanks. I hosted my webservice in enterprise server using NEt express in my development machine. I want to access that service from another machine in the same network. I am trying the...
View ArticleForum Post: RE: Regarding exposing webservice
What does "It is not working" mean? You have to describe the symptoms for anyone to be able to offer any advice. The blog post you cite shows an example of calling a particular SOAP web service. It...
View ArticleForum Post: DB2 in visual cobol
I have installed DB2 in visual cobol. Do you know which server I can use when I create a database ?. Is it a download file from IBM or Microfocus ?. /Thanks Hans
View ArticleForum Post: RE: DB2 in visual cobol
I do not understand the question. Visual COBOL provides access to DB2 databases using a number of different methods depending on your requirements. If you are creating a native application then you...
View ArticleForum Post: Has anyone used embedded SQL with Postgresql in COBOL?
I am new to SQL. Postgresql has a .NET data provider called Npgsql and with it I can do selects, inserts, updates and deletes from my .NET code. We would also like to use embedded SQL calls if...
View ArticleForum Post: RE: Has anyone used embedded SQL with Postgresql in COBOL?
Have you set up your ADO DSN using the ADO Connection Editor? Look at Start-- All Programs-- Micro Focus Visual COBOL-- Data Tools-- Data Connections-- ADO Connection Editor. If you can set up an ADO...
View ArticleForum Post: RE: Regarding exposing webservice
Hi Michael, I am trying to access the web service using the below code. % Set oXmlHTTP = CreateObject("MSXML2.ServerXMLHTTP") oXmlHTTP.setOption(2) = 13056 oXmlHTTP.Open "POST",...
View ArticleForum Post: RE: Regarding exposing webservice
Well, for one thing, you don't have a SOAPAction header. So that's not a valid SOAP request. I don't think the value of the SOAPAction header matters for ES, but I believe it needs to appear. So you...
View ArticleForum Post: RE: Has anyone used embedded SQL with Postgresql in COBOL?
The data provider is not displayed in the list on the Provider tab in the ADO Connection Editor because it's not actually installed on the machine. You copy a set of files into your project directory...
View ArticleForum Post: RE: Has anyone used embedded SQL with Postgresql in COBOL?
It might be possible to use OpenESQL with embedded SQL for this provider by either using a format 6 CONNECT statement or by opening a connection object directly and then using the EXEC ADO BIND...
View ArticleForum Post: How do I define a Nullable DateTime variable in Visual COBOL ?
The DateTime fields I am inserting into my database can sometimes be null. I want such fields in the table to show as null, not as "0001-01-01 12:00 AM". You do this In C# by using DateTime? as your...
View ArticleForum Post: RE: How do I define a Nullable DateTime variable in Visual COBOL ?
What are you using to access your database in Visual COBOL? If you are using OpenESQL for embedded SQL support for ADO.NET then you would simply set your null indicator variable to -1 to indicate that...
View ArticleForum Post: RE: How do I define a Nullable DateTime variable in Visual COBOL ?
I can't use the above code because I'm not coding embedded SQL. I'm using the npgsql .NET data provider that comes with Postgresql. Npgsql.dll includes a Parameters class for passing values to...
View ArticleForum Post: RE: How do I define a Nullable DateTime variable in Visual COBOL ?
The System.Nullable generic should do what you want. You can use that in COBOL with code such as:- program-id. Program1 as "Nullable.Program1". data division. working-storage...
View ArticleForum Post: RE: How do I define a Nullable DateTime variable in Visual COBOL ?
Thanks. This worked for updating my database. Phil Levin
View ArticleForum Post: Managed DLL, two classes with EXEC SQL, only 1 bnd - possible?
Hello! I have a question regarding Managed Cobol DLLs with more than 1 classes and EXEC SQL Statements. At the moment, if I have a project, with 2 Classes, TestA and TestB, and both have EXEC SQL...
View ArticleForum Post: RE: Managed DLL, two classes with EXEC SQL, only 1 bnd - possible?
Your question states that you are creating managed COBOL .dlls yet you are using the DB2 ECM to precompile your embedded statements. Currently there is no managed code version of the DB2 ECM so I am...
View ArticleWiki Page: Deployed ASP.NET Web Application displays error "Method not found:...
Problem: Customer created an ASP.NET Web Application using Visual COBOL 2.1 for Visual Studio 2010. The application runs fine in development but when he deploys it to an IIS Server under Windows...
View Article