How do I add a namespace reference to a SOAP response with Apache Axis2 and WSDL2Java
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I'm looking at the SOAP output from a web service I'm developing, and I noticed something curious: <soapenv:Envelope xmlns:soapenv = "http://www.w3.org/2003/05/soap-envelope" > <soapenv:Body> <ns1:CreateEntityTypesResponse xmlns:ns1 = "http://somedomain.com/wsinterface" > <newKeys> <value> 1234 </value> </newKeys> <newKeys> <value> 2345 </value> </newKeys> <newKeys> <value> 3456 </value> </newKeys> <newKeys xsi:nil = "1" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" /> <newKeys xsi:nil = "1" xmlns:xsi = "http://www.w3.org