1
나는 다음과 같은 코드 승/400 잘못된 요청 오류가 발생하고있어
내 WCF 서비스 계약
[WebInvoke(UriTemplate = "/cust_key/{key}/prod_id/{id}",
Method = "POST",
BodyStyle = WebMessageBodyStyle.Bare,
RequestFormat = WebMessageFormat.Xml,
ResponseFormat = WebMessageFormat.Xml)]
Stream GetData(string key, string id, XElment data);
을 다음과 XML 페이로드 는를 작동하고 200
<Product>
<Name>laptop</Name>
</Product>
을 반환됩니다하지만 다음이 XML 기본이 아닌 네임 스페이스 승/
<Productxsi:type="electronics" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Name>laptop</Name>
</Product>
가 어떻게이 네임 스페이스 문제를 처리해야 400 오류가 발생합니다?