Results 1 to 2 of 2
  1. #1
    jerry62712 is offline Member
    Join Date
    May 2012
    Rep Power

    Question Service Class Constructor

    We have a program that extends Service. It is made available from "import;"

    The class calls super several times and has no syntactical error when it uses two parameters (URL/wisdl location and Qname). But when it tries to invoke the constructor with three parameters is gives an error (The constructor Service(URL, QName, WebServiceFeature[]) is undefined).

    As this is an existing project, I'm wondering why it is now getting errors.

    Any ideas?

  2. #2
    wsaryada is offline Senior Member
    Join Date
    Jun 2007
    Bali, Indonesia
    Rep Power

    Default Re: Service Class Constructor

    Are you sure you are using the correct JDK version to compile your project? Please take a look at the Javadoc of your JDK to see if the constructor with those parameters available in the class.

Similar Threads

  1. extends class, why does it need another constructor?
    By kyle_maddisson in forum New To Java
    Replies: 14
    Last Post: 11-24-2011, 07:36 AM
  2. Class & Constructor / Won't Comile
    By jhuwalker in forum New To Java
    Replies: 6
    Last Post: 03-01-2011, 02:32 PM
  3. Accessing Constructor from another Class
    By Java-Guy in forum New To Java
    Replies: 4
    Last Post: 01-19-2011, 05:41 AM
  4. Replies: 0
    Last Post: 12-19-2007, 10:10 AM
  5. Replies: 0
    Last Post: 12-19-2007, 10:01 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts