如何在WSDL中描述以下REST服务?

时间:2011-06-10 12:37:34

标签: xml rest wsdl

POST http://site.com/customer

<customer>
  <firstName>Paul</firstName>
  <lastName>Serby</lastName>
  <email>paul@site.com</email>
</customer>

----成功:HTTP响应200

<response>
</response>

----失败:HTTP响应400

<response>
  <errors>
    <error>Missing email</error>
  </errors>
</response>

0 个答案:

没有答案