You appear to be trying to come up with a REST syntax URI to invoke a web service that is designed and implemented as a SOAP service.
That's what it looked like to me too.
My advice would be to concentrate on the REST API, do not bother with SOAP, it's bloated, it overly complicates the issue and is a dying protocol anyway. Follow the instructions in this link and ignore anything to do with SOAP!
https://www.ibm.com/developerworks/ibmi/library/i-rest-web-services-server2/index.html
[
http://www.ibm.com/developerworks/i/dw-social-201508.png]<
https://www.ibm.com/developerworks/ibmi/library/i-rest-web-services-server2/index.html>
Building a REST service with integrated web services ...<
https://www.ibm.com/developerworks/ibmi/library/i-rest-web-services-server2/index.html>
For several years now, IBM i users have had the ability to deploy ILE programs and services programs as web services based on the SOAP protocol using the integrated web services server support that is part of the operating system.
www.ibm.com
________________________________
From: WEB400 <web400-bounces@xxxxxxxxxxxx> on behalf of Mark Waterbury <mark.s.waterbury@xxxxxxxxxxxxx>
Sent: 12 November 2018 01:26
To: Web Enabling the IBM i (AS/400 and iSeries)
Subject: Re: [WEB400] web services ConvertTemp (private reply)
Booth: (Private reply)
SOAP and REST are not synonyms and are not "interchangeable."
If you read the instructions for IWS, you will see that you must decide, "up front" whether you want a given web service to be either SOAP or REST, and it must be told that at "design time" because IWS will generate different "wrapper" code based on which method you choose.
Mark
From: Booth Martin <booth@xxxxxxxxxxxx>
To: Web Enabling the IBM i (AS/400 and iSeries) <web400@xxxxxxxxxxxx>
Sent: Sunday, November 11, 2018 2:41 PM
Subject: Re: [WEB400] web services ConvertTemp
Using SoapUI with
https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.12.12.99%3A10057%2Fweb%2Fservices%2FConvertTempService%2FConvertTemp&data=02%7C01%7C%7Cb171ecdee9c642aa22cf08d648358f43%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636775792198847415&sdata=HvCK8SM%2FEoo9wNYxC5DBjLbhnQ2tTCd%2Bf2M1xmt8NBg%3D&reserved=0
works. It asks for me to fill in (TEMPIN>?<TEMPIN> and then it it
correctly populates <TEMPOUT><TEMPOUT>
It never asks for FtoC or CtoF, which surprises me. ConvertTemp is
already set up when the application server is created, and so far as I
know, it is SOAP.
On 11/11/2018 5:15 AM, Tim Fathers wrote:
In your example URI "web/services/ConvertTempService/ConvertTemp" it looks like you might be either confusing the SOAP and REST implementations or the service program name and the mapped resource name that points to it. ...
Tim
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.midrange.com%2Fmailman%2Flistinfo%2Fweb400&data=02%7C01%7C%7Cb171ecdee9c642aa22cf08d648358f43%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636775792198847415&sdata=wvQk6aNyV2J1XMgSjeKkK79gno4FYM4BfVN4ljuXmmU%3D&reserved=0
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Farchive.midrange.com%2Fweb400&data=02%7C01%7C%7Cb171ecdee9c642aa22cf08d648358f43%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636775792198847415&sdata=IfXMjVa%2FazffrWjdK626QhiLZf7co5cPYUOFX1lPCr4%3D&reserved=0.
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.midrange.com%2Fmailman%2Flistinfo%2Fweb400&data=02%7C01%7C%7Cb171ecdee9c642aa22cf08d648358f43%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636775792198847415&sdata=wvQk6aNyV2J1XMgSjeKkK79gno4FYM4BfVN4ljuXmmU%3D&reserved=0
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Farchive.midrange.com%2Fweb400&data=02%7C01%7C%7Cb171ecdee9c642aa22cf08d648358f43%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636775792198847415&sdata=IfXMjVa%2FazffrWjdK626QhiLZf7co5cPYUOFX1lPCr4%3D&reserved=0.
As an Amazon Associate we earn from qualifying purchases.