Call NLWS function to load delivery, in order to execute PrepareMessage from a soap request? | Community
Skip to main content
Level 2
March 24, 2022
Question

Call NLWS function to load delivery, in order to execute PrepareMessage from a soap request?

  • March 24, 2022
  • 2 replies
  • 1174 views

Hello everyone, 

I'm wondering if there is a way to execute the following JavaScript Syntaxes using a soap request from SOAP UI?

 

delivery = NLWS.nmsdelivery.load(XXX);

delivery.PrepareMessage;

Much appreciated,

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

DavidKangni
Community Advisor
Community Advisor
March 24, 2022

Hi Othboury,

 

Yes, it's possible to use a SOAP request for this request. You need to get the delivery schema WSDL and then you can use the PrepareMessage request.

 

Thanks,

David

 

David Kangni
OthbouryAuthor
Level 2
March 25, 2022

Thanks sfor your reply.

 

I've actually tried to do so, but as the PrepareMessage() requires, I have to load the delivery first using "NLWS.nmsdelivery.load(XXX)" and as you know both PrepareMessage and load are Javascript fucntions, which I'm currently enable to pass inside the soap envelop (I can't find a way to insert Javascript code inside SOAP XML under the entity tag).

If you could give me an example on how the call is executed, It would be much appreciated.

Thanks

Sukrity_Wadhwa
Community Manager
Community Manager
July 12, 2022

Hi @othboury,

Were you able to resolve this query or do you still need more help here? Do let us know.

Thanks!

Sukrity Wadhwa