如何改变Serializer->StartEnvelope自动生成的属性
我是用VC6写的这个WEBSERVICE,但是用这句代码:Serializer->StartEnvelope("SOAP", "NONE", "");
生成的报文始终不正确,有哪位知道?
我的报文:
<SOAP:Envelope xmlns:SOAPSDK1="http://www.w3.org/2001/XMLSchema" xmlns:SOAPSDK2="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAPSDK3="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
正确的报文:
<soapenv:Envelope xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:xsd='http://www.w3.org/2001/XMLSchema'
xmlns:soapenv='http://www.w3.org/2003/05/soap-envelope'>