| 发表于:2007-03-30 14:38:14 楼主 |
按照xfire官网的xfire-spring例子改了下,生成的wsdl文档中接口参数名极不友好: <xsd:element maxoccurs= "1 " minoccurs= "1 " name= "in0 " nillable= "true " type= "xsd:string " /> <xsd:element maxoccurs= "1 " minoccurs= "1 " name= "in1 " nillable= "true " type= "xsd:string " /> 竟然自动是in0与in1,而我在接口处是按javadoc注释的: /** * xxx * @param mobile * 手机号码 * @param areacode * 区域编号 * * @return 处理结果 */ public boolean getpassword(string mobile, string areacode); 不知如何才能在wsdl中显示mobile及areacode? |
|
|
|
|