Hi,
wsdl2java generate code have javax.xml.ws.WebServiceFeature[]
is per jaxws 2.2 spec, however java6 build-in jaxws 2.1 api which cause compile error

You have 2 options to work around it

1. endorsed jaxws2.2 and jaxb2.2 api in your jdk, take a look at [1] to get more details
2. You can use a new flag for wsdl2java tool introuducd from cxf 2.3.3
wsdl2java -frontend jaxws21
to generate code which is jaxws2.1 api compatible.



[1]http://cxf.apache.org/docs/23-migration-guide.html

Freeman
On 2011-5-19, at 下午10:16, xazs wrote:


Hai
i generated a proxy classes.. while compiling tat proxy classes i got
aerror like this please rectify this problem...My Web service is in .Net The method getPort(QName, Class<T>) in the type Service is not applicable
for the arguments (QName,
Class<ServiceSoap>, WebServiceFeature[])

-----
Thanks

--
View this message in context: 
http://cxf.547215.n5.nabble.com/compiler-error-in-proxy-classes-tp4409845p4409845.html
Sent from the cxf-issues mailing list archive at Nabble.com.

---------------------------------------------
Freeman Fang

FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
Connect at CamelOne May 24-26
The Open Source Integration Conference








Reply via email to