You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by htang27 <ht...@yahoo.com> on 2007/01/29 09:12:55 UTC

[Axis2] adb client in pojo example receives "Unexpected subelement" error

I had to modify AddressBookADBClient because setParam0 is not available
in the generated service stub.

//addEntry.setParam0(entry);
addEntry.setEntry(entry);
//findEntry.setParam0("Abby Cadabby");
findEntry.setName("Abby Cadabby");

When executed, it received "java.lang.RuntimeException: Unexpected
subelement city", does anyone have any idea why?

Thanks


 
____________________________________________________________________________________
Yahoo! Music Unlimited
Access over 1 million songs.
http://music.yahoo.com/unlimited

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: [Axis2] adb client in pojo example receives "Unexpected subelement" error

Posted by Nilesh Ghorpade <ni...@yahoo.com>.
Hi,
  
  Are you generating the code using the Helper option?
  
  If yes then the Helper option code generation is not updated as the one without the helper option. 
  
  Regards
  
  Niles

htang27 <ht...@yahoo.com> wrote:  I had to modify AddressBookADBClient because setParam0 is not available
in the generated service stub.

//addEntry.setParam0(entry);
addEntry.setEntry(entry);
//findEntry.setParam0("Abby Cadabby");
findEntry.setName("Abby Cadabby");

When executed, it received "java.lang.RuntimeException: Unexpected
subelement city", does anyone have any idea why?

Thanks


 
____________________________________________________________________________________
Yahoo! Music Unlimited
Access over 1 million songs.
http://music.yahoo.com/unlimited

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org



 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com