Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

compiling the proxy classes

 
niras iva
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai
i generated a proxy classes by using wsimport commands .. while compiling tat proxy classes i got aerror like this please rectify this problem...My Web service is in .Net and my jdk version is 1.6.17 and my jaxws version is 2.1
The method getPort(QName, Class<T>) in the type Service is not applicable for the arguments (QName,
Class<ServiceSoap>, WebServiceFeature[])
 
Rick Roberts
Ranch Hand
Posts: 59
Hibernate Java Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's impossible to say what the problem is without more info, but....

I always keep a copy of Apache Axis-1 and also Apache Axis-2 on hand because I often find older WSDLs that "wsimport" can't consume.

Try using Apache Axis-2 "wsdl2java", if that doesn't work then try Axis-1 "wsdl2java".
One of them will probably be able to consume it.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!