|
On May 5, 2021, at 2:33 PM, Jack Prucha <Jack.Prucha@xxxxxxx> wrote:
I created an API using the IWS wizard.
I'm entering this into the browser:
http://cfitest:10021/web/services/TESTAPI/GetAcctBal/{"ACCT#":"000222933"}<http://cfitest:10021/web/services/TESTAPI/GetAcctBal/%7b%22ACCT#":"000222933"}>
I've also tried
http://cfitest:10021/web/services/TESTAPI/GetAcctBal/"000222933"<http://cfitest:10021/web/services/TESTAPI/GetAcctBal/%22000222933%22>
and several other variations. I'm getting a 404
This cfitest page can't be found
No webpage was found for the web address: http://cfitest:10021/web/services/TESTAPI/GetAcctBal/%7B"ACCT#":"000222933"}
Poking around the logs available in IBM Web Administation for I are these:
[5/5/21 13:52:26:283 EDT] 0000003a sun.rmi.transport.tcp W RMI TCP Accept-0: accept loop for ServerSocket[addr=0.0.0.0/0.0.0.0,localport=35310] throws
java.io.IOException: The server sockets created using the LocalRMIServerSocketFactory only accept connections from clients running on the host where the RMI remote objects have been exported.
at sun.management.jmxremote.LocalRMIServerSocketFactory$1.accept(LocalRMIServerSocketFactory.java:126)
at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop(TCPTransport.java:417)
at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run(TCPTransport.java:389)
at java.lang.Thread.run(Thread.java:822)
Console.log
[err] at org.apache.wi[WARNING ] An exception occurred during processing of the iseries.wsbeans.testapi.TESTAPIResource singleton. This singleton is ignored
The GetAcctBal/{ACCT#} variable was not supplied a value. Provide a value for this variable.
cycle.JSR250LifecycleManagerUtils.invokeMethod(JSR250LifecycleManagerUtils.java:219)
The rpgle pgm receives a character acct# and returns a number
Dcl-pr main ExtPgm('TESTAPI');
Acct# Char(9);
ActBal Zoned(9:2);
End-Pr;
Any hints? I've asked our communication techs to check their logs for locked ports, etc. and they said there was nothing.
Any help appreciated.
TIA
Jack
[CFNC]
This email, including any documents, files, or previous email messages attached to it, has been sent from an email account of College Foundation Inc., (CFI) and may contain confidential, proprietary, or legally privileged information belonging to CFI. If you are not the intended recipient, any dissemination, distribution, or copying of this email or its attachments is strictly prohibited. If you have received this email in error, please immediately notify the sender by email and destroy the original email and any attachments.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link: https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.