search cancel

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


Article ID: 134507


Updated On:


CA Application Test Service Virtualization


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.  


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..