This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to pass an object as a parameter in web services?

Simon Yue
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have corrected some mistakes in my post. Please help ...
I am developing a simple web service client and server (using Eclipse for auto code generation). I am able to pass String and Byte array from the client. However, there is a parameter "statusInfo" which is an object of the class "cz.unmz.namespaces.csn369791.SendCertificatesRequestStatusInfo" and I have no idea of how to do so.

Below is an extract of the wsdl file:

Below is an extract of the auto-gen file:

Below is the auto-gen file:

In the client (an auto-gen JSP file), Eclipse has generated the following two lines of code:

I have also added the following line for the parameter "certificateSequence" (I have already prepared a Bytearray of certificateSequence)

Can anyone suggest a way of passing the parameter "statusInfo"? Thanks.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic