facebook

[Closed] how to return an object

  1. MyEclipse Archived
  2.  > 
  3. Web Services
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #263240 Reply

    saif
    Member

    hi every body,
    i have in my web service a method that return an object of a class that i wrote to use in my application. there’s some thing to add to be able te retrieve the result of this method in the client. What is it?.What shoud i do?
    any help will be appreciated.

    #263345 Reply

    Brian Fernandes
    Moderator

    Saif,

    Sorry for the delayed response.
    Are you developing your WS using an existing WSDL file (top down) or are you using exising Java Classes (bottom up)?

    If you’re working bottom up, you just create a method which returns the object you desire, and in most cases the XFire Aegis binding should take care of this case.
    More details about bindings are available here: Bindings Aegis Bindings

    Let us know if you require further assistance.

    #263369 Reply

    saif
    Member

    Thank you for your answer,
    i’m using bottum up web service. my metod return this user type : ArrayList<Conjugaison>
    the exception was that Xfire coudn’t istanciate the type Conjugaison.
    Thank your for any help.

    #263410 Reply

    Brian Fernandes
    Moderator

    Saif,

    Glad it’s working to this extent, we’ll take up the ArrayList<Conjugaison> issue in this thread: https://www.genuitec.com/forums/topic/closed-error-when-returning-an-arraylist/#post-263409

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: [Closed] how to return an object

You must be logged in to post in the forum log in