How web services are configured?.
Following the instructions in the manual, we have added a service, an implementing process, we have logged in as "admin" but we got nothing. Which is the URL of the WSDL file?.
Also, is not contradictory an implemeting process with a set of rules to determine the answer?. Say we want to define a web service "getEmployees" which returns FIND ALL FROM Employee. Where should that go?, inside the process or inside the answer rules?.
Thanks in advance,
Eduardo.
Web services
-
- Posts: 7525
- Joined: Sun Apr 24, 2005 12:36 am
- Contact:
Following the instructions in the manual, we have added a service, an implementing process, we have logged in as "admin" but we got nothing. Which is the URL of the WSDL file?.
You will only get something when the service is called. When you logged in Aware IM must have automatically build the service and the WSDL file. Its URL is http://localhost:8080/AwareIM/services/ ... Space?wsdl
where BusinessSpace is the name of the business space where you defined your services.
This is the service that your business space exposes. To get some result you need to call this service either from a different business space using REQUEST SERVICE action or programmatically from other applications.
Also, is not contradictory an implemeting process with a set of rules to determine the answer?. Say we want to define a web service "getEmployees" which returns FIND ALL FROM Employee. Where should that go?, inside the process or inside the answer rules?.
No it is not contradictory to use rules. The result of the service (if it has any) must go into the attributes of the notification that the service returns. The attributes of the notification can only hold simple attributes (not references) - text, numbers, dates etc. Therefore, you cannot return result of a query, which is an array of business objects.
You will only get something when the service is called. When you logged in Aware IM must have automatically build the service and the WSDL file. Its URL is http://localhost:8080/AwareIM/services/ ... Space?wsdl
where BusinessSpace is the name of the business space where you defined your services.
This is the service that your business space exposes. To get some result you need to call this service either from a different business space using REQUEST SERVICE action or programmatically from other applications.
Also, is not contradictory an implemeting process with a set of rules to determine the answer?. Say we want to define a web service "getEmployees" which returns FIND ALL FROM Employee. Where should that go?, inside the process or inside the answer rules?.
No it is not contradictory to use rules. The result of the service (if it has any) must go into the attributes of the notification that the service returns. The attributes of the notification can only hold simple attributes (not references) - text, numbers, dates etc. Therefore, you cannot return result of a query, which is an array of business objects.
Aware IM Support Team
-
- Posts: 7525
- Joined: Sun Apr 24, 2005 12:36 am
- Contact: