Hi,
Does anyone knows why this method POST
returns this error? Am I doing somewthing wrong?
You are not sharing what you put in the payload. It is simply stating the Payload is not correct.
Here is a Payload I tested with:
{ "nounMetadataXml": "<NounMetadata><Noun><NounName>KH_Products</NounName><IDXPath>/KH_Products/ProductCode</IDXPath><SupportedVerbs><SupportedVerb>Acknowledge</SupportedVerb><SupportedVerb>Show</SupportedVerb><SupportedVerb>Sync</SupportedVerb></SupportedVerbs></Noun></NounMetadata>", "nounSchemaXsd": "<?xml version="1.0" encoding="UTF-8" standalone="no"?><schema xmlns=">www.w3.org/.../XMLSchema" attributeFormDefault="unqualified" elementFormDefault="qualified"><element xmlns:xs=">www.w3.org/.../XMLSchema" name="KH_Products"><complexType><sequence><element xmlns:xs=">www.w3.org/.../XMLSchema" name="ProductCode" type="xs:string"/><element name="Description" type="xs:string"/></sequence></complexType></element></schema>"}
resulting in:
I used predefined example, but now I understand I need to use in XSD format.
Using your payload example and pressing "Execute" doesn't do anything even testing another schema...
The result you are getting is what occurs when the paylod (JSON) is not valid. Pop the payload it into a JSON validator.
I found that somehow an extra quote was added in several areas. example: xmlns="">www
Replace the "" with a "
I will edit the reply above as well.