This is a common problem. I think you can run one of the bat / sh files that
get generated, or you can follow these instructions:

http://ws.apache.org/axis2/tools/1_2/CodegenToolReference.html#invoking

"An important detail is that an XMLBean class file is also generated by
WSDL2Java, TypeSystemHolder.class. That file is placed into build/classes by
the above ant task and will be needed to compile the generated sources. A
frequent problem is users get an error such as:

*ClassNotFoundException : Cannot load SchemaTypeSystem. Unable to load class
with name
schemaorg_apache_xmlbeans.system.s68C41DB812F52C975439BA10FE4FEE54.TypeSystemHolder.
Make sure the generated binary files are on the classpath.*

The TypeSystemHolder.class generated by WSDL2Java must be placed in your
classpath in order to avoid this error."
HTH,
Robert

On 5/21/07, Ashish Kulkarni <[EMAIL PROTECTED]> wrote:

Hi
I am using WSDL2Java to create java source from WSDL, and then i created a
client to call this web service, but i am getting following error

Caused by: java.lang.RuntimeException: Cannot load SchemaTypeSystem.
Unable to load class with name
schemaorg_apache_xmlbeans.system.sC3DD632CC9C08A8478E13FA275B1520E.TypeSystemHolder.
Make sure the generated binary files are on the classpath.
at org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(XmlBeans.java
:783)
at
com.pfizer.www.bod.mapslims.req.SyncPurchaseItemInDocument$SyncPurchaseItemIn
.<clinit>(SyncPurchaseItemInDocument.java:45)
... 3 more
Caused by: java.lang.ClassNotFoundException:
schemaorg_apache_xmlbeans.system.sC3DD632CC9C08A8478E13FA275B1520E.TypeSystemHolder



I have these lot of XSD files, what am i missing


Ashish

Reply via email to