DATA-INTO operation does not match the RPG Variable reason code 5: the document contains extra names that do not match subfields.
This is the response I am getting:
'{"response": {"token": "eyJraWQiOiJ4UGZncERvQTVQNHBiZU1jSFNH'
'Q2JtbkRVY3l2bjlqSFwvYUJROVc5RFlnUT0iLCJhbGciOiJSUzI1NiJ9.eyJ ...
Search found 7 matches
- Tue Sep 17, 2024 4:21 pm
- Forum: YAJL-ILE
- Topic: DATA-INTO operation does not match the RPG Variable
- Replies: 1
- Views: 23878
- Tue Sep 17, 2024 2:43 pm
- Forum: HTTPAPI
- Topic: DATA-GEN procedure not available
- Replies: 1
- Views: 16481
Re: DATA-GEN procedure not available
Found that the wrong savf was used for the install. I have resolved this.
- Tue Sep 17, 2024 1:43 pm
- Forum: HTTPAPI
- Topic: DATA-GEN procedure not available
- Replies: 1
- Views: 16481
DATA-GEN procedure not available
Running on V7R4M0.
Getting the following error:
RNX0355 the program or procedure is not available for the DATA-GEN operation. Reason code 1.
LIBHTTP and YAJL are in library list when running.
Any suggestions?
Getting the following error:
RNX0355 the program or procedure is not available for the DATA-GEN operation. Reason code 1.
LIBHTTP and YAJL are in library list when running.
Any suggestions?
- Mon Apr 10, 2023 12:04 pm
- Forum: HTTPAPI
- Topic: submitting job to batch using HTTPAPI
- Replies: 2
- Views: 8604
submitting job to batch using HTTPAPI
When calling my program interactively which uses HTTPAPI to connect to a URL with an XML request and receives an XML response it is working perfectly, but when the program is submitted to batch it fails. The library list is set correctly. I am getting an error that HTTPAPIR4 does not exist. Do I ...
- Mon Mar 20, 2023 3:43 pm
- Forum: HTTPAPI
- Topic: XML Response to large?
- Replies: 3
- Views: 8780
Re: XML Response to large?
This is the part 2 of what I get back.....after hundreds of spaces. I only care about the data past the search_request.
]]></search_request><entry><search_status><result_guid>930f5856-1ffc-4960-9c01-f4fb65c8889a</result_guid><company_id /><dts_search_date>3/20/2023 10:22:19 AM</dts_search_date><dts ...
]]></search_request><entry><search_status><result_guid>930f5856-1ffc-4960-9c01-f4fb65c8889a</result_guid><company_id /><dts_search_date>3/20/2023 10:22:19 AM</dts_search_date><dts ...
- Mon Mar 20, 2023 3:40 pm
- Forum: HTTPAPI
- Topic: XML Response to large?
- Replies: 3
- Views: 8780
Re: XML Response to large?
Here is what I get back - Part 1 because it is over 60000 characters so i can't post the whole thing. This first part is all data I don't care about:
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema ...
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema ...
- Mon Mar 20, 2023 3:20 pm
- Forum: HTTPAPI
- Topic: XML Response to large?
- Replies: 3
- Views: 8780
XML Response to large?
Hello,
I created a program based on example16. I am connecting to a SOAP service, sending XML. I am recieving back an XML response and trying to use XML-INTO and populate into a ds to get the values that I require.
Here is my ds:
dcl-ds search_status qualified;
result_guid char(50);
company_id ...
I created a program based on example16. I am connecting to a SOAP service, sending XML. I am recieving back an XML response and trying to use XML-INTO and populate into a ds to get the values that I require.
Here is my ds:
dcl-ds search_status qualified;
result_guid char(50);
company_id ...