Forum Discussion
Hi,
Probably there is simpler solution, but at the moment i can think only this:
Replace previous expression with this:
$group.map((value, index) => value.extend({“sum” : parseInt(value.sum) + ((index + 1) * 10)}))
We are extending the object with same field, because previously we had that field name, it will be only overwritten.
Thanks,
Pero M.
@pmancevski $group.map((value, index) => value.extend({‘sum’ : parseInt(value.sum) + ((index + 1) * 10)})) - This expression solved my query.
Thank you!
- bojanvelevski4 years agoValued Contributor
Sorry, I misunderstood the request.
I believe you can achieve this by editing the service endpoint in the WSDL file. This may require downloading a copy of the WSDL, edit the endpoint in the file, then store it in a location the SOAP Execute snap can access - such as SLDB or local system.
Optionally, you may can send your SOAP XML payload using REST POST - which allows setting the endpoint in the snap configuration. But this option can be tedious, having to build the XML first, and defeats the benefits that the SOAP Execute provides.
- aditya_gupta414 years agoContributor
Rather than hardcoding the endpoint, I converted SOAP request in REST API, and provided Content-Type as application/soap+xml. This worked for me.
Related Content
- 2 years ago
- 2 years ago
- 3 years ago