Are you sending any parameters?
Those should be at the end of the resource
example:
/web/services/CustAdrBal?var=something
On 1/15/2025 10:41 AM, (WalzCraft) Jerry Forss wrote:
It is a Rest.
From Swagger
"swagger": "2.0",
"info": {
"title": "CustAdrBal APIs",
"description": "APIs available for CustAdrBal",
"version": "1.0.0"
},
"host": "IBMi IP:10010",
"schemes": [
"http"
],
"basePath": "/web/services/CustAdrBal",
"tags": [
{
"name": "CustAdrBal APIs",
"description": "APIs available for CustAdrBal"
}
],
-----Original Message-----
From: MIDRANGE-L<midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Gavin Inman
Sent: Wednesday, January 15, 2025 9:36 AM
To: Midrange Systems Technical Discussion<midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: External Re: IWS
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
Is the service SOAP or Rest. I've found REST are easier to work with.
Download the WSDL file and import it into SOAPUI and it will set everything up for you automagicly
Gavin.
On 1/15/2025 9:29 AM, (WalzCraft) Jerry Forss wrote:
Hi All
I am trying to set up a web service that will be for internal communications only between the IBMi and the network.
Currently I use Stored Procedures that are called from the network side and I return parameters or result sets.
We have a new application on the server where I want them to use the IWS to request info.
I went through Scotts handout Providing RPG Web Services (Thank You Scott!!!) and set up the server (WCIService) and deployed a new service (CustAdrBal).
My problem is that I can't seem to get the URL right for trying it. I am SURE it's something basic.
I am using SoupUI to test it.
URL is
http://IP of IBMi:10010/web/services/CustAdrBal/AA/780
What the heck am I doing wrong?
Subject to Change Notice:
WalzCraft reserves the right to improve designs, and to change specifications without notice.
Confidentiality Notice:
This message and any attachments may contain confidential and privileged information that is protected by law. The information contained herein is transmitted for the sole use of the intended recipient(s) and should "only" pertain to "WalzCraft" company matters. If you are not the intended recipient or designated agent of the recipient of such information, you are hereby notified that any use, dissemination, copying or retention of this email or the information contained herein is strictly prohibited and may subject you to penalties under federal and/or state law. If you received this email in error, please notify the sender immediately and permanently delete this email. Thank You
WalzCraft PO Box 1748 La Crosse, WI, 54602-1748www.walzcraft.com<
http://www.walzcraft.com> Phone: 1-800-237-1326
--
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 contactsupport@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
Subject to Change Notice:
WalzCraft reserves the right to improve designs, and to change specifications without notice.
Confidentiality Notice:
This message and any attachments may contain confidential and privileged information that is protected by law. The information contained herein is transmitted for the sole use of the intended recipient(s) and should "only" pertain to "WalzCraft" company matters. If you are not the intended recipient or designated agent of the recipient of such information, you are hereby notified that any use, dissemination, copying or retention of this email or the information contained herein is strictly prohibited and may subject you to penalties under federal and/or state law. If you received this email in error, please notify the sender immediately and permanently delete this email. Thank You
WalzCraft PO Box 1748 La Crosse, WI, 54602-1748
www.walzcraft.com<
http://www.walzcraft.com> Phone: 1-800-237-1326
As an Amazon Associate we earn from qualifying purchases.