Jeremy please, check API for service which you try to use.
I think you have problem with format of request.
Jeremy please, check API for service which you try to use.
I think you have problem with format of request.
Hi,
thank you for your reply. I am calling the same service in SOAP UI and it works well. Here is below the code i am using, except that i am using different username/password than "xxxxx.." obviously.
What am i doing wrong in Appery?
thank you,
___________________________________________________________Endpoint: https://services.klm.com/MetaSearchSe...
xml:
Code: Select all
xxxxxx
xxxxxxx
RH
<!--Optional:--
en
2013-11-10
JFK
AMS
2013-11-15
AMS
JFK
<!--Optional:--Hi Jeremy,
Could you please place your code in tags "pre" and "code"? This is not readable otherwise.
Hello! There is a SOAP request on your screenshot. In Appery.io you need to use REST requests http://docs.appery.io/getting-started/. In fact here is how your request from Appery.io suppose to look like codehttps://services.klm.com/MetaSearchService/MetaSearchService_v1.asmx?Username=xxxxx&Password=xxxxxx&KLM_MetaSearchParty=RH&DepartureDateTime=2013-09-09&OriginLocation=AMS&DestinationLocation=JFK&AirTraveler=1&PriceRequestInformation=Economy&KLM_Lang=en/code.
You would need to check is http://klm.com/ has API. Another way is to try to create ajax request and form correct SOAP request (form correct xml with needed parameters), but no guarantee it will work...
hi, thanks. I knew indeed, but have been confused by the ability to choose xml.
Thank you for your time and clear.