wsdl文件放在bin目录下,以下语句在bin目录下执行: WSDL2Java -uri yrre_ws_contract_info.wsdl -p com.daorigin.WSServer.zdErpCont.ws -o ws