Results 1 to 2 of 2
  1. #1
    nazeeramd75 is offline Member
    Join Date
    Aug 2011
    Posts
    1
    Rep Power
    0

    Post Prepare Object Oriented Programming classes/ Methods with provided WSDL file in Java

    Hi,

    I am currently assigned to a Java project, where a webservice has to be consumed.

    I have a WSDL file, and generated the schemas (Service , PortType, Request and response classes ) from it.

    I need to prepare a Client code which involves OOPs concepts in it and a standalone project. All the classes generated from WSDL are invoked and combined in class or classes in Object oriented way.

    Here my question is .. how do i integrate these classes into object oriented way ? As I am new to java no idea about Object Oriented Programming for java classes generated from WSDL ?

    Where I can invoke one method in XXXXAccessor.java file to get the data from the Service with the help of Response Object.

    --
    Thanks ,
    Nazeera

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,432
    Rep Power
    18

    Default

    You need to figure out what it is your code is supposed to do.
    Then try and break it down into areas of responsibility, then construct layers (or modules) that cover those areas.
    You would also norrmally do a model representing your data, but I suspect much of that is covered by the WSDL?
    Can't tell.

Similar Threads

  1. Help in object oriented programming .
    By renu in forum New To Java
    Replies: 18
    Last Post: 10-26-2010, 07:57 PM
  2. is java is pure object oriented program?
    By 435.mahesh in forum New To Java
    Replies: 1
    Last Post: 04-21-2009, 03:42 PM
  3. Object Oriented
    By GraemeH in forum New To Java
    Replies: 3
    Last Post: 03-29-2009, 07:50 PM
  4. Is JAVA completely object-oriented???
    By venkateshk in forum New To Java
    Replies: 2
    Last Post: 11-17-2008, 09:17 AM
  5. Question about java object oriented Language
    By lenny in forum New To Java
    Replies: 3
    Last Post: 07-26-2007, 03:59 PM

Posting Permissions

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