How do I add a namespace reference to a SOAP response with Apache Axis2 and WSDL2Java

前端 未结 2 1885
醉酒成梦
醉酒成梦 2020-12-19 05:17

I\'m looking at the SOAP output from a web service I\'m developing, and I noticed something curious:



        
2条回答
  •  自闭症患者
    2020-12-19 05:35

    Other option is that the variable MY_QNAME has the prefix empty.

    public static final QName MY_QNAME = new QName("http://www.hello.com/Service/",
                "tagname",
                "prefix");
    

    So, if you fill it, then it works.

提交回复
热议问题