Axis2 生成的WSDL会有两个版本,在部署OSB的时候会报错
</wsdl:binding>
<wsdl:service name="X">
<wsdl:port name="XHttpSoap11Endpoint" binding="ns:XSoap11Binding">
<soap:address location="http://X.X.X.X:X/XSoap11Endpoint/"/>
</wsdl:port>
<wsdl:port name="XHttpSoap12Endpoint" binding="ns:XSoap12Binding">
<soap12:address location="http://X.X.X.X:X/XSoap12Endpoint/"/>
</wsdl:port>
<wsdl:port name="XHttpEndpoint" binding="ns:XHttpBinding">
<http:address location="HttpEndpoint/"/>
</wsdl:port>
将上面红色部分删掉即可