1)Try putting attached  xmime.xsd local in you wsdl folder 
2) put  following import statement in wsdl or schema

        <xsd:import namespace="http://www.w3.org/2005/05/xmlmime";
                schemaLocation="xmlmime.xsd" />




I hope this will work for you.   Else you need to enable proxy setting  in 
JVM 

regards
Yogesh




"PR, Rajesh (GE Infra, Energy, Non-GE)" <[EMAIL PROTECTED]> 
05/01/2008 05:09 PM
Please respond to
[email protected]


To
<[email protected]>
cc

Subject
Axis2 - MTOM Sample error






Hi all,
 
        am getting the following error, when i try to build the mtom 
sample
which comes with Axis2 - Version 1.3
 
Exception in thread "main" java.lang.RuntimeException: 
org.apache.xmlbeans.XmlException: error: Could not load resource 
"xmime.xsd" (network downloads disabled).
        at 
org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:103)
        at 
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:79)
        at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:28)
        at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:22)
Caused by: org.apache.xmlbeans.XmlException: error: Could not load 
resource "xmime.xsd" (network downloads disabled).
        at 
org.apache.xmlbeans.impl.schema.SchemaTypeSystemCompiler.compile(SchemaTypeSystemCompiler.java:225)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.xmlbeans.XmlBeans.compileXmlBeans(XmlBeans.java:667)
        at 
org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:69)
        ... 3 more
 
Please help me. This is the base for a new project am building
 
Thanks
Rajesh 

======================================================================================================
This transmittal and any attachments may contain confidential, privileged or 
sensitive information and is solely for the use of the intended recipient. If 
you are not the intended recipient, you are hereby notified that you have 
received this transmittal and any attachments in error and any review, 
dissemination, distribution or copying thereof is strictly prohibited. If you 
have received this transmittal and any attachments in error please notify the 
sender and immediately destroy the message and all its attachments. Any 
opinions herein expressed may be those of the author and not necessarily of 
Mizuho Corporate Bank, Ltd., Mizuho Corporate Bank (USA), Mizuho Securities USA 
Inc. or any other affiliates of Mizuho Financial Group (”Mizuho”). Mizuho 
accepts no responsibility for the accuracy or completeness of any information 
herein contained.
E-Mail received by or sent from officer of Mizuho Securities USA Inc. (which is 
a registered U.S. broker-dealer and the entity through which Mizuho generally 
conducts its investment banking, capital markets, and securities business in 
the United States) is electronically archived and recorded and is subject to 
review and monitoring by and/or disclosure to persons other than the recipient, 
including (but not limited to) Mizuho Securities USA Inc. supervisory 
personnel.  Such communications may be produced to regulatory authorities or 
others with legal rights to the information.

Attachment: xmlmime.xsd
Description: Binary data

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to