Results 1 to 1 of 1
  1. #1
    nikos is offline Member
    Join Date
    Oct 2010
    Posts
    4
    Rep Power
    0

    Default Eclipse creates web service that returns an object but something's wrong...!!!

    Hi. i want to created a web service that returns an object.
    The object contains string variables, string [] arrays and string[][] arrays.
    I have write getters and setters in the object to fill the variables and the arrays and retrieve their values.
    I've write some code that creates an instance of that object and fills the variables and the arrays correctly. So the next step i am doing is to convert this code to a web service and a client via the eclipse wizard by right clicking to the .java file->web services->create web service....

    but the wsdl that is been created does not contain all the structure of the object i created. To be more specific it does not contain the two dimention arrays.Contains only the single dimention arrays and the string variables.
    but at the client, the single dimention arrays arrives with null value.Only the string variables has values.

    why this happens??

    I attach the object i created ( CustomerInfo.java), A part of web service code (EinvoiceImpl.java) and the wsdl that eclipse creates.

    thanks (i know my english sucks...I do my best)
    Attached Files Attached Files

Similar Threads

  1. When the compiler creates the variable?
    By hitesh_public in forum New To Java
    Replies: 14
    Last Post: 08-17-2010, 10:21 AM
  2. Send object via web service, with a java.sql.Timestamp attribute
    By diegofsza in forum Enterprise JavaBeans (EJB)
    Replies: 0
    Last Post: 08-15-2009, 11:40 PM
  3. Consuming web service with return custom object
    By dream_ in forum Networking
    Replies: 1
    Last Post: 04-16-2009, 06:56 AM
  4. Error Eclipse &drjava displays wrong language
    By fenderman in forum New To Java
    Replies: 0
    Last Post: 02-28-2009, 03:24 AM
  5. Help - something has gone wrong with SWT/Eclipse
    By int80 in forum SWT / JFace
    Replies: 3
    Last Post: 08-05-2008, 11:47 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
  •