请WebService的高手帮我看看,我是用VC6做的。
1.首先请教一下这个报文头的意思:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
//上边这段是什么意思
//=============================================================重要的是这一段是什么意思
<soapenv: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:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
//=============================================================重要的是这一段是什么意思
这一段会对后边造成什么影响。
2.上边的报文头是我的程序自动生成的,和正确的报文头不一样,正确的报文头应该是这样的:
<?xml version='1.0' encoding='UTF-8'?>
<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'>
我要怎么做才能够生成正确的报文头呢??
3.我生成报文头的代码:
Serializer->StartEnvelope("soapenv" ,"NONE" , "");
就是这句,关键是我用的VC6,我实在找不到办法把上面的正确报文头做出来了,请高手指点