Forum Discussion

Progressive_Fin_1's avatar
11 years ago

JSV Format Support

Is the JSV Format supported in SoapUI Pro 5.0?
If so please direct to documentation to help facilitate how to use it.

The following POST example does not work throwing an exception.
Using Headers:
Content-type application/jsv (have attempted text/jsv with no success)
Accept application/jsv (have attempted text/jsv with no success)

{
User:
{
StoreId: 37777,
UserName: IronMan,
Password: fin09,
Role: SalesPerson,
FirstName: Alan,
LastName: Paa,
EmailAddress: alan.paa@prog.com,
PhoneNumber: 8017896787,
IsOnlineDocsViewable: false,
IsPasswordResetRequired: false,
IsDeliveryDateEditable: false,
IsActive: false,
AdditionalAccessibleStores: [0]
}
}

Exception:

<data contentType="application/jsv" contentLength="330"><![CDATA[{ResponseStatus:{ErrorCode:RequestBindingException,Message:Unable to bind request,StackTrace:" at ServiceStack.WebHost.Endpoints.RestHandler.GetRequest(IHttpRequest httpReq, IRestPath restPath)
at ServiceStack.WebHost.Endpoints.RestHandler.ProcessRequest(IHttpRequest httpReq, IHttpResponse httpRes, String operationName)"}}]]></data>
  • Hi,

    You can send the JSV content in your REST request's payload, but SoapUI Pro cannot parse it natively.

    As for the content-type, it should be set to what your web service is expecting.

    Regards,

    Giscard
    SmartBear Support