Created a virtual service using the CreateService API command in Jenkins. While the service is deployed and running, when validated against this service we receive a "message not found " exception .
curl -X POST -H 'Authorization: Basic abc.com' -F [email protected] 'http://abc.bbc.com:1505/api/Dcm/VSEs/VSE/actions/createService'
The abc.com.zip contains Soap XML RR pairs and a serviceProperties.xml file.
All supported DevTest releases.
The Soap xml Request file was missing <?xml version="1.0" encoding="UTF-8"?> tag , so during creation, Soap DPH was not picked by default. As a result the Request Arguments was not able to parse properly.
The created VS did not have any arguments.
Add <?xml version="1.0" encoding="UTF-8"?> as the first line in the REquest XML file .
Now when running the API call, it will self identify as a soap message and add the WS Soap DPH.
The Request Arguments will now be parsed properly..