We are facing an issue while using webservicequery function in a rule:

Certified Associate Developer
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 Reply Children
No Data