<service name="sayHelloService" scope = "application" targetNamespace="http://ws.apache.org/axis2" >
<description>
sayHelloService例子
</description>
<schema schemaNamespace="http://ws.apache.org/axis2" />
<parameter name="ServiceClass">
service.sayHelloService
</parameter>
<operation name="xbgsayHello">
<messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-out" class="org.apache.axis2.rpc.receivers.RPCMessageReceiver" />
<messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-only" class="org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver" />
</operation>
</service>
生成WSDL文件如下:为何表头的命名空间没有改过来?
<?xml version="1.0" encoding="UTF-8"?>