On Tue, 2006-05-30 at 15:10 -0400, Mona Yazbeck wrote:
> Hello!
>  
> I need help on this! I am trying make an update operation on a web
> services. I used WSDL2Java to create TestCase class. The testcase
> class use a method taking in parameter two value, a string and a
> updateListItemsUpdates... wich is in fact a MessageElement
>  
> binding.updateListItems(new java.lang.String(), new
> lists.ws.UpdateListItemsUpdates());
>  
> I am changing this line to put value in it and I wanna pass this:
>  
> <Method ID='1' Cmd='New'>
>     <Field Name='Title'>Family name</Field>
>     <Field Name='FirstName'>First Name</Field>
>     <Field Name='Email'>address</Field>
> </Method>
>  
> as my second argument, but I have no idea how to put this in a
> MessageElement[].
well, you can always try parsing your XML to DOM, then create a new
MessageElement from the root document Element using the appropriate
MessageElement constructor. I don't know if that suffices, though...

regards,
  jaKa

-- 
email: [EMAIL PROTECTED]
w3:    http://fish.homeunix.org/people/jaka



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to