Ok so I was right, the url format to call webservice was wrong. It looks like you have to use WSDL url instead of what it says in documentation which is weird because this is my first time where documentation was wrong or maybe there are two ways to call webservice. Anyways I was able to call webservice from optimize using a url something like that:
http://:/ws/:?WSDL
So now after getting the webservice working I am having another problem where all the inputs which I am passing in WSAction are not coming in webservice call even though I have those inputs defined in webservice. Following is the template I am using in WSAction:
Any idea how to pass the violated rule information in webservice or what am I doing wrong here ?
Ok so here is the update, I found out, few days before in an old SR, that WSAction only supports RPC protocol and not Document-Literal which I didn’t find in documentations(probably because it isn’t mentioned). Anyways I was wondering if someone can point me to a documentation which mentions all the available variables which can be passed in WSAction webservice. Optimize for infrastructure Administrator guide mentions the following ones but I was hoping for some more because in email alerts you get some additional ones which aren’t mentioned in the guide for example “URL” etc:
Thanks for the reply, but is there is documentation which lists all those variables ? Reason I am looking for those is because you have to literally use the exact same name in WSAction and webservice to catch those variables. Also it doesn’t show up in pipeline when you save pipeline at the beginning of webservice.
I’m not sure about the documentation.we have to use the same name variables in WSAction and webservice input signature.whatever the parameters you want from eventmap inaddition to the standard variables like RuleStatus,RuleDefination…etc…
Add all there variables in WSAction and webservice input.
we have to use the Ddisplayname of the variable instead of exactname.
You can see all these parameters in pipeline after rule violation.
First of all, tks to create this post about Ws action. The WM guide does not have details information about this feature. So, I created a webservice action to send optimize alerts but I can’t grab this rules informations into my Web service created in IS 7.1.2. When I save the pipeline. I only get a blank record called ‘list’ in my input service. How did you create this WSDL input ?
As per the message tells you “java.lang.ArrayIndexOutOfBoundsException: 9” that number arguments in the invoked webservice and the number of arguments passed through the wsaction tag is ({parameters} not the same in case if your webservice uses SOAP RPC call please check on this nad let us know if you still face the isssue.