users@jax-rpc.java.net

Re: Probelm with java annotation based schema generation...(jaxws 2.0ea sep 23 build)

From: Phillip A. Lindsay <phil_at_lindsay.net>
Date: Thu, 06 Oct 2005 15:53:00 -0700

FYI,
The answer to my question has been blogged:
    http://weblogs.java.net/blog/kohsuke/archive/2005/09/using_jaxb_20s.html
-phil

Doug Kohlert wrote:

> Phillip,
> There is a work around for this but it is a JAXB work around. Would
> you mind posting your question to the
> JAXB 2.0 and JAX-WS 2.0 Forum at:
> http://forums.java.net/jive/forum.jspa?forumID=46 and Kohsuke will
> answer your question.
>
> Thank you for your patience.
>
> Phillip A. Lindsay wrote:
>
>> How do I work around this? (yes I know it is better to author xsd, but
>> in this particular case I cannot):
>> -phil
>>
>> [apt] [loading C:\java\jdk50\jre\lib\rt.jar(java/lang/Number.class)]
>> [apt] error: java.util.Currency does not have a no-arg default
>> constructor
>> [apt] this problem is related to the following location:
>> [apt] at java.util.Currency (Unknown Source)
>> [apt] at com.tickets.common.util.Money.getCurrency
>> (Unknown Source)
>> [apt] at com.tickets.common.util.Money (Unknown Source)
>> [apt] at
>> com.tickets.account.domain.BaseAccountEntry.getAmount (Unknown Source)
>> [apt] at com.tickets.account.domain.BaseAccountEntry
>> (Unknown Source)
>> [apt] at com.tickets.account.domain.AccountEntry
>> (Unknown Source)
>> [apt] at com.tickets.account.domain.Account.getEntries
>> (Unknown Source)
>> [apt] at com.tickets.account.domain.Account (Unknown
>> Source)
>> [apt] at com.tickets.patron.domain.Party.getAccounts
>> (Unknown Source)
>> [apt] at com.tickets.patron.domain.Party (Unknown
>> Source)
>> [apt] at
>> com.tickets.patron.ws.jaxws.PersistPatron.arg0(PersistPatron.java:17)
>> [apt] at
>> com.tickets.patron.ws.jaxws.PersistPatron(PersistPatron.java:14)
>> [apt] [loading C:\java\jdk50\jre\lib\rt.jar(java/util/Locale.class)]
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
>> For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net
>>
>>
>>
>