soap Body节点的命名空间怎么干掉
旅行者I号 2016-03-21 11:02:44 我这样调服务
ChannelFactory<ICreateInvoiceService> factory = new ChannelFactory<ICreateInvoiceService>(new BasicHttpBinding(),
new EndpointAddress("http://192.168.100.193:7801/PosInvoice"));
soap请求的body都会带命名空间,如下
<soapenv:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
但是我不想要这两个namespace,因为他们导致了一些异常。
怎么去掉勒