Replies: 1 comment
-
@raymondfeng I think you are the person most familiar with SOAP, could you please help? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Mediation Tool(SOAP -> REST)
#SOAP Endpoint URL:
http://webservices.oorsprong.org/websamples.countryinfo/CountryInfoService.wso
#WSDL
http://webservices.oorsprong.org/websamples.countryinfo/CountryInfoService.wso?WSDL
#Operation that I am trying to access -
FullCountryInfo(http://webservices.oorsprong.org/websamples.countryinfo/CountryInfoService.wso?op=FullCountryInfo)
#XML Input
#XML Output
Help Required
I am trying to access SOAP service the REST way using Loopback4, Can someone please tell me how do I write the service to receive multiple parameters as response ?
Eg: If i had only one parameter in response I could have written it something like this:
Now I have Name, CapitalCity,Phone,PhoneCode,ContinentCode etc in the response, how do i capture all of them ?
Also, incase if I had multiple parameters to send, how do i send it ?
I cannot find any detailed documentation regarding the same, so can someone please guide me regarding the same.
##Below is my current code
#country.datasource.json
#country.service.ts
#country.controller.ts
Current Behavior
Getting Below Error

Expected Behavior
JSON & XML response with all the details containing:
Name, CapitalCity,Phone,PhoneCode,ContinentCode etc
Beta Was this translation helpful? Give feedback.
All reactions