<link rel="stylesheet" type="text/css" href="http://maomaode.bokeland.com/plugins/plogeshi/styles/plogeshi.css">你可以通过JAXWS customization 来改变产生的SEI的名字
<bindings wsdllocation="hello_world.wsdl" xmlns="http://java.sun.com/xml/ns/jaxws"> <bindings node="wsdl:definitions/wsdl:portType"> <class name="GreeterSEI"/"> </bindings> </bindings>
<link rel="stylesheet" type="text/css" href="http://maomaode.bokeland.com/plugins/plogeshi/styles/plogeshi.css">其中的node, 是一个xpath值,你可以通过这个xpath来指定你要修改的class,name, 比如你有多个portType, 其中的一个portType名字是Hello, 你希望产出的SEI的class叫HelloSEI, 那么这个xpath, 就需要写成:
<bindings node="wsdl:definitions/wsdl:portType[@name='Hello']"> <class name="HelloSEI"/"> </bindings>
你还可以修改portType operation, Service 等。
利用这个方法,可以订制很多wsdl2java本身不提供的参数
更多参数请阅读文档