Forum Discussion
BouncyBall
8 years agoNew Contributor
Didn't work yet. I turned the groovy code into this:
context.x = "000000000009006087"
def request = context.expand( '${RetrieveEquipmentModelDetail#Request}')
log.info request.toString()
def response = context.expand( '${RetrieveEquipmentModelDetail#Response}')
log.info responseSAPxml.toString()The request shows that the context.x value is indeed inserted in the request. Also, I tried actually entering the value manually and running the request and then it returns the correct response but it does not happen when I do it in my code. I think the request is being sentbut in the catching of the response something goes wrong. It's always a blank reponse as if the value in the request was blank. It doesn't feel like I am catching the response from the request.