Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
Suraj Borade
36
Views
6
Comments
How to connect to Web Service and access data.
Question
Hello All,
I have one web service located on another server. I want to access that web service using my Outsystems application. Please suggest me how to implement Web Services in OutSystems and connect with other Web Services.
Thanks,
Suraj Borade
Ricardo Vaz Alves
Hi Suraj,
You can find everything you need to know about Web Services in Outsystems
here
.
Let me know how it went. Feel free to ask anything if you still have doubts.
Regards,
Ricardo Alves
Suraj Borade
Hi Recardo,
I am consuming web service to get some data. For that I will have to input date. It's format is
<InputDate>2014-04-06T00:00:
00</InputDate>.
How to pass datetime parameter to WebService function since outsystems have date format as MM-DD-YY.
Thanks,
Suraj Borade
Tiago Simões
Staff
Hi Suraj,
You can try using the
TextToDateTime()
built-in function. (And you might also need to download the wsdl and change the parameter type to text)
Cheers,
Tiago Simões
João Rosado
Staff
Actually a web reference for a service with a date time will already be in that format by default, regardless of the date format selected in the platform.
Date Times sent in SOAP web references are always sent in ISO format, that is the standard for SOAP.
What is the data type of that input in your service? Text or DateTime?
Regards,
João Rosado
Suraj Borade
Data type of that input in my service is DateTime. I tried using TextToDateTime() function and other things but still response is empty in my outsystems application.
In 'soapui', where webservice has been built,it's returning correct responses. Those responses are in XML format. So is there any need to convert XML formats in string format to access in OutSystems.
In addition that,
In my webservice , if I pass any input parameter , it should return number of records . But this control dont have provision that to return multiple records as well.
Please advice..
Regards,
Suraj Borade
João Rosado
Staff
Can you post the wsdl or an example eSpace with the webreference for us to see?
Regards,
João Rosado
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
Loading...