hi, According to the soap spce when serializing the soap envelop Axis2 should not serialize the document type Declaration.[1]. Also see the samples given in the spec. But axis2 has it.
eg. POST /SoapWsdl_BaseDataTypes_XmlFormatter_Service_Indigo/BaseDataTypesDocLitB.svc HTTP/1.1 Content-Type: text/xml; charset=UTF-8 SOAPAction: "http://tempuri.org/IBaseDataTypesDocLitB/RetBool" User-Agent: Axis2 Host: 131.107.72.15:8085 Transfer-Encoding: chunked df <?xml version='1.0' encoding='UTF-8'?> <soapenv:Envelope xmlns:soapenv=" http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <ns3:inBool xmlns:ns3="http://tempuri.org/">true</ns3:inBool> </soapenv:Body> </soapenv:Envelope>0 So we have to remove this. is this an axis2 problem or an Axiom problem? thanks, Amila. [1] http://www.w3.org/TR/2000/NOTE-SOAP-20000508/#_Toc478383492 -- Amila Suriarachchi, WSO2 Inc.
