Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
2 replies
Subscribers
7 subscribers
Views
1014 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
We are facing an issue while using webservicequery function in a rule:
indrajita
Certified Associate Developer
over 10 years ago
We are facing an issue while using webservicequery function in a rule:
For the Web service, we need to pass CDT as input. When we are trying to test the rule, we are getting the below error:
Expression evaluation error at function 'type!{
http://tempuri.org/}
GetSampleService (invalid) [line 7]: Invalid function 'type!{
http://tempuri.org/}
GetSampleService due to invalid type
Rule:
=webservicequery(
a!wsConfig(
wsdlUrl: "
127.0.0.1/.../SampleService.svc
service: "{
http://tempuri.org/}
SampleService ",
port: "BasicHttpBinding_ SampleService ",
operation: "{
tempuri.org/}GetSampleService"
),{request:{'type!{
http://tempuri.org/}
GetSampleService (
Input1:12345,
Input2:23456,
Input3:34567,
Input4:45678,
Input5:"TEXT")}
}
however, such datatype is already present in the Data management Tab as well as defined in the WSDL.
Are we passing the request object in right way?...
OriginalPostID-108218
OriginalPostID-108218
Discussion posts and replies are publicly visible
Parents
0
Patty Isecke
Appian Employee
over 10 years ago
Can you perform a simple test of just passing a text input instead of a CDT?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Patty Isecke
Appian Employee
over 10 years ago
Can you perform a simple test of just passing a text input instead of a CDT?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data