Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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

Avatar

Level 1

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,

3 Replies

Avatar

Community Advisor

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.

 

DavidKangni_0-1648142746509.png

Thanks,

David

 

Avatar

Level 1

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

Avatar

Administrator

Hi @Othboury,

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

Thanks!