I want to have a service backed record populated from a web service call. Is the

I want to have a service backed record populated from a web service call. Is there a way to do that?
I am using an expression rule to invoke a web service (Using the Expression section in the record definition)-

webservicequery(
a!wsConfig(
wsdlUrl: "b2go.li/b2goapi.asmx
service: "{b2go.li/}b2goapiService",
port: "b2goapiServiceSoap",
operation: "{http://b2go.li/}CreateUrl"
),
{
CreateUrlSoapIn: {
real_url: ri!real_url
}
}
)

and then calling this rule from within my service backed record,-

=with(
local!employees: rule!MyPOC_SampleWSInvokerExpression(""),
a!dataSubset(
data: local!employees,

startIndex: 1,
batchSize: -1,
totalCount: count(local!employees)
)
)

However, it does not work. Is there any other way of doing this?
Thanks in advance.

OriginalPostID-146955

OriginalPostID-146955

  Discussion posts and replies are publicly visible