Hi Gerry,

This is not a deliberate limitation, and now that I'm aware of it I'll 
look into getting it fixed.

  - Dennis

Dennis M. Sosnoski
SOA and Web Services in Java
Training and Consulting
http://www.sosnoski.com - http://www.sosnoski.co.nz
Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117



Gerry Holly wrote:
> Hello,
>
> I added a "TestItem" subclass to example 3 but residing in a different 
> package, i.e. "com.sosnoski.ws.library.jibx2wsdl.test.TestItem".   
> After updating the build.xml script with "-x 
> com.sosnoski.ws.library.jibx2wsdl.test.TestItem", I am getting this error:
>
>      [echo] Running Jibx2Wsdl tool
>      [java] Error: Referenced type '{ 
> http://sosnoski.com/ws/library/jibx2wsdl}:item 
> <http://sosnoski.com/ws/library/jibx2wsdl%7D:item>' is not defined for 
> extension element at (source unknown)
>      [java] Exception in thread "main" org.jibx.runtime.JiBXException: 
> Unknown namespace URI http://sosnoski.com/ws/library/jibx2wsdl
>      [java] at org.jibx.runtime.QName.serialize(QName.java:322)
>      [java] at 
> org.jibx.schema.elements.ElementElement.JiBX_binding_marshalAttr_4_0(ElementElement.java)
>      [java] at 
> org.jibx.schema.elements.JiBX_bindingElementElement_access.marshal()
>      [java] at 
> org.jibx.schema.elements.FilteredSegmentList.JiBX_binding_marshal_3_15(FilteredSegmentList.java)
>      [java] at 
> org.jibx.schema.elements.SchemaElement.JiBX_binding_marshal_3_1 
> (SchemaElement.java)
>      [java] at 
> org.jibx.schema.elements.JiBX_bindingSchemaElement_access.marshal()
>      [java] at 
> org.jibx.schema.elements.SchemaElement.marshal(SchemaElement.java)
>      [java] at org.jibx.ws.wsdl.Jibx2Wsdl.main (Jibx2Wsdl.java:642)
>
> Is this another Jibx2Wsdl beta tool limitation, i.e. when using 
> polymorphism, the subclasses have to be in the same package?
>
> Gerry

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to