Hello Tom
Thanks for the help :)
I didn't know that this is also possible via cli: I tested it and it works - unfortunately it "only" adds the WSDL file to the web service proxy.
The additional, very helpful wizards functions, such as adding the necessary "WS-Proxy Endpoint Rewrite" configurations are missing, I still have to do these myself.
My goal was to start the "add wsdl" wizard by script. This would save me a lot of work, as the wizard does a lot automatically: i.e.: add wsdl file and create the necessary ws-proxy endpoint rewrite configurations.
Too bad, it would have been very nice to start the wizard via script.
Many greetings
Andreas
------------------------------
Andreas Brand
------------------------------
Original Message:
Sent: Mon April 25, 2022 10:01 AM
From: Tom Hoang
Subject: Use "add WSDL wizard" with script?
Hi, you can use (and automate via script) the datapower cli commands as follows:
config;wsgw <your gateway name>;wsdl <wsdlLocation> <localName> [policyAttachment];
------------------------------
Tom Hoang
Original Message:
Sent: Mon April 25, 2022 05:47 AM
From: Andreas Brand
Subject: Use "add WSDL wizard" with script?
Hello
I have a working web service proxy and need to add a WSDL file. With the "add WSDL Wizard" it works perfectly, it parses the WSDL file and automatically creates the necessary configurations for "WS-Proxy Endpoint Rewrite", like "Local and Remote Rewrite Rules", etc.
My question: can I run the "add WSDL Wizard" in an automated way, e.g. via WSG REST API or similar? Or are there other ways to automatically add WSDL files to an existing WSP, analogous to the "add WSDL Wizard"?
Many thanks and greetings
Andreas
------------------------------
Andreas Brand
------------------------------