Looks like you don't have them in classpath. Check again if beans are
really visible in classpath.

On 5/1/07, Vipul Sabhaya <[EMAIL PROTECTED]> wrote:
I am trying to generate Client code from a WSDL and i am getting
NullPointerException.  I have generated the XMLBeans separately, and have
them in my classpath for the WsGen call.  I am using v.1.2.5 of XFire.

java.lang.NullPointerException
        at
org.apache.xmlbeans.impl.common.QNameHelper.hexsafedir(QNameHelper.java:176)
        at
org.apache.xmlbeans.impl.schema.SchemaTypeLoaderImpl.typeSystemForComponent(SchemaTypeLoaderImpl.java:249)
        at
org.apache.xmlbeans.impl.schema.SchemaTypeLoaderImpl.findDocumentTypeRef(SchemaTypeLoaderImpl.java:430)
        at
org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.findDocumentType(SchemaTypeLoaderBase.java:129)
         at
org.codehaus.xfire.gen.xmlbeans.XmlBeansSchemaSupport.getType(XmlBeansSchemaSupport.java:51)
        at
org.codehaus.xfire.gen.xmlbeans.XmlBeansSchemaSupport.getType(XmlBeansSchemaSupport.java:25)
        at
org.codehaus.xfire.gen.jsr181.AbstractServiceGenerator.generateOperation(AbstractServiceGenerator.java:162)


--
-----
When one of our products stops working, we'll blame another vendor
within 24 hours.

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

   http://xircles.codehaus.org/manage_email

Reply via email to