className of RequestWrapper annotation is not reflected in wsdl In case that only "className" property of javax.xml.ws.RequestWrapper annotation is present, it is not reflected in the wsdl file generated automatically by container. The same is true of javax.xml.ws.ResponseWrapper annotation. It is true that RequestWrapper or ResponseWrapper class in the server side is generated according to the annotation, but the wsdl file is not. I believe that value of "name" attribute of "xs:complexType" element in "types" element in the wsdl file or external schema file (.xsd) should be the same with value of "className" property in RequestWrapper or ResponseWrapper annotation if it is present. Actually, in reverse case, "className" value of RequestWrapper or ResponseWrapper annotation in stub class generated by wsimport command is the same with "name" value of "xs:complexType" element. This problem is probably caused by behavior of wsgen command. Developers at the client side can get informations about Web Service only from wsdl, therefore all informations should be represented in wsdl file. And if it works well, we can avoid name collisions of RequestWrapper and ResponseWrapper at the client side. See also this related issue : 482.