Forum Discussion
SmartBear_Suppo
12 years agoSmartBear Alumni (Retired)
Hi,
There seems to be a number of issues really. The response is not valid since the namespace declaration does not match but changing it to the correct one in either the response or the schema shows the error you are suspecting namely that the first element of the sequence is missing.
Can you try by changing the response namespace to "http://feitgn.api.rentals.abc.com/v1/listings/search" instead of "http://dev.api.rentals.abc.com/v1/listings/search"?
If that solves it you can then put the hostname in a property and refer to that as needed across endpoints and validations.
Best Regards,
Henrik Johansson
SmartBear Software
There seems to be a number of issues really. The response is not valid since the namespace declaration does not match but changing it to the correct one in either the response or the schema shows the error you are suspecting namely that the first element of the sequence is missing.
Can you try by changing the response namespace to "http://feitgn.api.rentals.abc.com/v1/listings/search" instead of "http://dev.api.rentals.abc.com/v1/listings/search"?
If that solves it you can then put the hostname in a property and refer to that as needed across endpoints and validations.
Best Regards,
Henrik Johansson
SmartBear Software
Related Content
Recent Discussions
- 7 days ago