求助:axis2,pojo返回string类型时候,soap包没有soap-env:Envelope 头??马上给分:)
axis2,pojo返回string类型时候,soap包没有soap-env:Envelope 头??
如:
public class MyService {
public Strin
g sendSms(String in){
return "out";
}
}
只有
<ns:xxResponse xmlns:ns=""><ns:return>123</ns:return></ns:xxResponse >
没有
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"><soap-env:Header ><soap-env:Body>
</soap-env:Body></soap-env:Envelope>
我用axis1访问的时候失败?