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访问的时候失败?
如:
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访问的时候失败?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货