Reshat Sabiq <crts <at> argushealth.com> writes:
> This was because of i wasn't passing in a JAXBContext thru spring. 
Now i've done
> that, i got thru instantiation of at least one mapping for a real request 
(saw
> Response object mapped while debugging), 
but now getting the following:
> [4/9/07 18:20:53:204 CDT] 00000031 XFireServletC E   TRAS0014I: 
> The following exception was logged 
org.codehaus.xfire.XFireRuntimeException: 
> Couldn't create type for property IMyRequest on interface 
> com.argushealth.pharmacy.domain.claim.ws.ArrayOfIMyRequest: 
> Cannot create mapping for java.util.List, 
> unspecified component type for property IMyRequest

>       at org.codehaus.xfire.aegis.type.DefaultTypeCreator.
>       createCollectionType(DefaultTypeCreator.java:43)
>       at org.codehaus.xfire.aegis.type.XMLTypeCreator.
>       createCollectionType(XMLTypeCreator.java:141)
>       at org.codehaus.xfire.aegis.type.AbstractTypeCreator.
>       createTypeForClass(AbstractTypeCreator.java:113)
>       at org.codehaus.xfire.aegis.type.AbstractTypeCreator.
>       createType(AbstractTypeCreator.java:376)
>       at org.codehaus.xfire.jaxb.JaxbTypeCreator.
>       createType(JaxbTypeCreator.java:82)
>       ...
JAXB Alone does support arrays/lists. There's a book example, 
w/ the following
generated, and successfully marshalled/unmarshalled:
        java.util.List getBook();

Above, however, this goes from JAXB back to aegis, for some reason. 
Why would it
do that?
1) Should i somehow config aegis to map java.util.List, or 
2) is this because JAXB 1 isn't fully utilized and 
thus the fix should be in
making sure the execution doesn't go from JAXB back to aegis?

Some architecture feedback here would be appreciated.




---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to