AnsweredAssumed Answered

How to Call An API from SOAP UI

Question asked by kdevarajan722358 on Mar 3, 2017
Latest reply on Mar 6, 2017 by vsinguru179434

Hi Team,
I had created an API and imported the endpoints from my existing process

 

 

Note:-
Chosen Method as Get,
About my Process- It takes no inputs but returns some xml objects,
And my object is -ID

After the import of endpoints .Its given me a default Rest path as - /ws/rest

I had tried call to my rest API from SoapUI and Post but its failing with some issue

ex-1
https://XYZ.boomi.com/ws/rest

where
https://XYZ.boomi.com - Hostname
/ws/rest - endpoint of my api

Failed with below error
<p>
Problem accessing /ws/rest. Reason:
<pre>Missing object name</pre>
</p>
And

I had tried given call with my Object Id and its failed again with

ex-2
https://XYZ.boomi.com/ws/rest/Id

where

https://XYZ.boomi.com - Hostname
/ws/rest - endpoint of my api
Id - Object


Failed with below error
h2>HTTP ERROR 404</h2>
<p>
Problem accessing /ws/rest/Id. Reason:
<pre>Unknown operation for /Id</pre>


Could you please anyone suggest /correct me
I am calling my API in the correct way?

Outcomes