Thank you,
it works for me too
Search found 21 matches
- Wed Jun 29, 2022 11:45 pm
- Forum: Questions & Answers
- Topic: [CLOSED] Exchange fields to CLP
- Replies: 2
- Views: 4474
- Wed Jun 29, 2022 8:03 pm
- Forum: Questions & Answers
- Topic: [CLOSED] Exchange fields to CLP
- Replies: 2
- Views: 4474
[CLOSED] Exchange fields to CLP
I have a CL that calls an RMDLX function with 4 input parameters and 11 output parameters.
CALL PGM(MàEXCHL) PARM('PUT' +
'UMUTULL P0030' &MUTULL +
'UCODPARLL A0180' &CODPARLL +
'UCODLETLL P0030' &CODLETLL +
'UCODOP1LL A0100' &CODOP1LL)
LANSA REQUEST(RUN) PROCESS(MV_TEST) +
FUNCTION ...
CALL PGM(MàEXCHL) PARM('PUT' +
'UMUTULL P0030' &MUTULL +
'UCODPARLL A0180' &CODPARLL +
'UCODLETLL P0030' &CODLETLL +
'UCODOP1LL A0100' &CODOP1LL)
LANSA REQUEST(RUN) PROCESS(MV_TEST) +
FUNCTION ...
- Wed Jul 28, 2021 1:43 am
- Forum: Questions & Answers
- Topic: LI HttpService URL Encoding
- Replies: 1
- Views: 7101
LI HttpService URL Encoding
Hi all,
i use the HTTPService to call an REST API for sending a SMS. follow the text to sent :
Nom de la société
Bonjour prénom nom ,
Dans le cadre de votre hospitalisation, sachez que nous serons là pour vous !
but when I call 'SEND SERVICE_LIST(W_NAME,W_VALUE) HOST(<adress>) VERSION(1) URI(<API ...
i use the HTTPService to call an REST API for sending a SMS. follow the text to sent :
Nom de la société
Bonjour prénom nom ,
Dans le cadre de votre hospitalisation, sachez que nous serons là pour vous !
but when I call 'SEND SERVICE_LIST(W_NAME,W_VALUE) HOST(<adress>) VERSION(1) URI(<API ...
- Thu Jul 08, 2021 8:21 pm
- Forum: Questions & Answers
- Topic: LANSA INTEGRATOR V15 - No document to bind
- Replies: 3
- Views: 15795
Re: LANSA INTEGRATOR V15 - No document to bind
On the open command I have change the LOCALHOST with the ip for INTEGRATOR 14 and the call was succesfull
- Thu Jul 08, 2021 8:18 pm
- Forum: Questions & Answers
- Topic: LANSA INTEGRATOR V15 - No document to bind
- Replies: 3
- Views: 15795
Re: LANSA INTEGRATOR V15 - No document to bind
hi Theo,
the upgrade of the JSM instance in the IFS was succesfull. the subfolder has been deleted.
I have checked the HTTPINBOUNDXMLBINDSERVICE.properties with the save file and it was still okay. I have the same blocs but not at the same place.
The HTTP_CONTENT.TXT :
<soapenv:Envelope xmlns ...
the upgrade of the JSM instance in the IFS was succesfull. the subfolder has been deleted.
I have checked the HTTPINBOUNDXMLBINDSERVICE.properties with the save file and it was still okay. I have the same blocs but not at the same place.
The HTTP_CONTENT.TXT :
<soapenv:Envelope xmlns ...
- Tue Jul 06, 2021 11:58 pm
- Forum: Questions & Answers
- Topic: LANSA INTEGRATOR V15 - No document to bind
- Replies: 3
- Views: 15795
LANSA INTEGRATOR V15 - No document to bind
hi,
I have upgraded my developpment in V15 and now i have got errors when i call a webservice with the HTTPINBOUNDXMLBINDSERVICE.
in trace :
=================== TRACE OPEN ===================
manager: version : 15.0
manager: date : 2021-07-06 10:26:43 +0200 ...
I have upgraded my developpment in V15 and now i have got errors when i call a webservice with the HTTPINBOUNDXMLBINDSERVICE.
in trace :
=================== TRACE OPEN ===================
manager: version : 15.0
manager: date : 2021-07-06 10:26:43 +0200 ...
- Wed Jun 16, 2021 12:01 am
- Forum: Questions & Answers
- Topic: API REST with LI 14.0
- Replies: 5
- Views: 10441
Re: API REST with LI 14.0
bad way,

- Tue Jun 15, 2021 7:52 pm
- Forum: Questions & Answers
- Topic: Form V14SP2 : How to launch a browser from a form
- Replies: 3
- Views: 7072
Re: Form V14SP2 : How to launch a browser from a form
Hi Reiko,
if i have understand what you want to do try this code:
#STD_TEXT := "chrome.exe"
Use Builtin(SYSTEM_COMMAND) With_Args('H' #STD_TEXT 'www.LANSA.COM') To_Get(#STD_NUM)
if i have understand what you want to do try this code:
#STD_TEXT := "chrome.exe"
Use Builtin(SYSTEM_COMMAND) With_Args('H' #STD_TEXT 'www.LANSA.COM') To_Get(#STD_NUM)
- Mon Jun 14, 2021 7:37 pm
- Forum: Questions & Answers
- Topic: API REST with LI 14.0
- Replies: 5
- Views: 10441
Re: API REST with LI 14.0
Thank Dino for your response.
I go try.
I go try.
- Tue Jun 08, 2021 10:54 pm
- Forum: Questions & Answers
- Topic: API REST with LI 14.0
- Replies: 5
- Views: 10441
API REST with LI 14.0
Hy all,
i need to consume an REST API from EDM environnement. i have make the request on SOAP-ui and it works well, the document name was changed, but i do not have success with LI :
Command : ERROR "Erreur de réception de la réponse HTTP"
{"message":"[HttpMessageNotReadableException] Could not ...
i need to consume an REST API from EDM environnement. i have make the request on SOAP-ui and it works well, the document name was changed, but i do not have success with LI :
Command : ERROR "Erreur de réception de la réponse HTTP"
{"message":"[HttpMessageNotReadableException] Could not ...
- Wed Mar 03, 2021 1:16 am
- Forum: Questions & Answers
- Topic: Validation XML with XSD
- Replies: 1
- Views: 5230
Re: Validation XML with XSD
If I use JAVA and not LANSA INTEGRATOR, i have the exception :
Exception: cvc-complex-type.2.4.a: Invalid content was found starting with element '{"urn:amc:med":Prenom_Altere}'. One of '{"urn:amc:med":Prenom}' is expected.
Exception: cvc-complex-type.2.4.a: Invalid content was found starting with element '{"urn:amc:med":Prenom_Altere}'. One of '{"urn:amc:med":Prenom}' is expected.
- Wed Mar 03, 2021 12:27 am
- Forum: Questions & Answers
- Topic: Validation XML with XSD
- Replies: 1
- Views: 5230
Validation XML with XSD
Hi,
I need to control a xml with a XSD, i use the XMLBindFileService with SCHEMA(*YES). I got an error in the XML but LI does not found any fault.
In attachment, the xml (FluxXM_cb70b3bc-1715-4f2a-80f8-6a68790cfeeb.XML.DOC) that needs to be controle and the xsd (Controle_CLC_xml.xsd.doc) to made ...
I need to control a xml with a XSD, i use the XMLBindFileService with SCHEMA(*YES). I got an error in the XML but LI does not found any fault.
In attachment, the xml (FluxXM_cb70b3bc-1715-4f2a-80f8-6a68790cfeeb.XML.DOC) that needs to be controle and the xsd (Controle_CLC_xml.xsd.doc) to made ...
- Tue Dec 15, 2020 6:15 pm
- Forum: Questions & Answers
- Topic: LANSA INTEGRATOR
- Replies: 8
- Views: 16310
Re: LANSA INTEGRATOR - [CLOSED]
Hi sorry for the delay.
I have more than one closeJSm in the function so the soap response was send on the first closejsm and the response was not completed.
I have more than one closeJSm in the function so the soap response was send on the first closejsm and the response was not completed.
- Fri Nov 13, 2020 3:21 am
- Forum: Questions & Answers
- Topic: LANSA INTEGRATOR
- Replies: 8
- Views: 16310
Re: LANSA INTEGRATOR
Are you calling the command SERVICE_CLOSE anywhere
* No, I use the JSMX_CLOSE at the end after the SEND command and for the second instance.
* I don't use the same service so i need to start an other instance.
First : HTTPInboundXMLBindService
Second : XMLBidnFileService
* No, I use the JSMX_CLOSE at the end after the SEND command and for the second instance.
* I don't use the same service so i need to start an other instance.
First : HTTPInboundXMLBindService
Second : XMLBidnFileService
- Wed Nov 11, 2020 1:17 am
- Forum: Questions & Answers
- Topic: LANSA INTEGRATOR
- Replies: 8
- Views: 16310
Re: LANSA INTEGRATOR
yes I have open 2 instances of Integrator.
First for the SOAP
Second for the new option for the signature XMLDSIGN
First for the SOAP
Second for the new option for the signature XMLDSIGN
- Fri Nov 06, 2020 7:23 pm
- Forum: Questions & Answers
- Topic: LANSA INTEGRATOR
- Replies: 8
- Views: 16310
Re: LANSA INTEGRATOR
I don't use SOAPSERVERSERVICE but i use HTTPINBOUNDXMLBINDSERVICE.
The first bind is *INBOUND Type and the response with OUTBOUND type.
Schema :
Open HTTPINBOUNDXMLBINDSERVICE
Bind *INBOUND
get request
-> made actions
before response
*
Open a new instance with XMLBINDFleService
bind *output
set ...
The first bind is *INBOUND Type and the response with OUTBOUND type.
Schema :
Open HTTPINBOUNDXMLBINDSERVICE
Bind *INBOUND
get request
-> made actions
before response
*
Open a new instance with XMLBINDFleService
bind *output
set ...
- Fri Nov 06, 2020 3:50 am
- Forum: Questions & Answers
- Topic: LANSA INTEGRATOR
- Replies: 8
- Views: 16310
LANSA INTEGRATOR
Hello,
i have a problem with a SOAP and XMLDSIGN.
I made a response with HTTPINBOUNDXMLBINSERVICE but before WRITE AND SEND command i need to create the XML to assign the signature XMLDSIGN.
I created a new feature with a new INTEGRATOR instance and it calls a JSON web service that add signature ...
i have a problem with a SOAP and XMLDSIGN.
I made a response with HTTPINBOUNDXMLBINSERVICE but before WRITE AND SEND command i need to create the XML to assign the signature XMLDSIGN.
I created a new feature with a new INTEGRATOR instance and it calls a JSON web service that add signature ...
- Tue Jul 07, 2020 11:25 pm
- Forum: Questions & Answers
- Topic: INTEGRATOR - SOAP Response with SIGNATURE
- Replies: 2
- Views: 10748
Re: INTEGRATOR - SOAP Response with SIGNATURE
I have found how to set X509Certificate :
CertificateFactory cf = CertificateFactory.getInstance("X.509");
FileInputStream in = new FileInputStream("Path of my cer file");
java.security.cert.Certificate c = cf.generateCertificate(in);
in.close();
t = (X509Certificate) c;
byte ...
CertificateFactory cf = CertificateFactory.getInstance("X.509");
FileInputStream in = new FileInputStream("Path of my cer file");
java.security.cert.Certificate c = cf.generateCertificate(in);
in.close();
t = (X509Certificate) c;
byte ...
- Mon Jul 06, 2020 6:10 pm
- Forum: Questions & Answers
- Topic: INTEGRATOR - SOAP Response with SIGNATURE
- Replies: 2
- Views: 10748
INTEGRATOR - SOAP Response with SIGNATURE
Hy,
I need to put the following fragment in a SOAP response, It was defined in the XSD:
<ds:Signature>
<ds:SignedInfo>
<ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
<ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
<ds ...
I need to put the following fragment in a SOAP response, It was defined in the XSD:
<ds:Signature>
<ds:SignedInfo>
<ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
<ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
<ds ...
- Wed Jan 03, 2018 1:41 am
- Forum: Questions & Answers
- Topic: spelling checker
- Replies: 2
- Views: 6342
Re: spelling checker
Hi,
Thank for your answer.
But In a Window Application, the "Multi-line edit" is PRIM_MEMO and not PRIM_TEXT like in a Web Application. And the Explorer has a spelling checker integred not like the PRIM_MEMO in window.
An Other proposition ?
Thank for your answer.
But In a Window Application, the "Multi-line edit" is PRIM_MEMO and not PRIM_TEXT like in a Web Application. And the Explorer has a spelling checker integred not like the PRIM_MEMO in window.
An Other proposition ?