search cancel

Service created through CreateService API returns a message[Not Found Exception]


Article ID: 134507


Updated On:


CA Application Test


We 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' -F [email protected] ''

The  contains  Soap XML  RR pairs and a serviceProperties.xml file.  


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.  


Release :

Component : CA Application Test


Add    <?xml version="1.0" encoding="UTF-8"?>   as the first line  in the REquest  XML  file .  

Now when you run the API call,   it will self identify as a soap message  and  add the WS Soap DPH.   The Request Arguments will be parsed properly..