The mtom sample, has the xmime.xsd,
in the same location as the WSDL
 
That shouldnt be an issue.
 
Also, i dont have any proxy set in my machine.
i access the internet directly from my machine without any proxy.
 
Please help me, what could be causing the issue.
 
Thanks
Rajesh


________________________________

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 01, 2008 5:31 PM
To: [email protected]
Cc: [email protected]
Subject: Re: Axis2 - MTOM Sample error



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(XMLBean
sExtension.java:103)
       at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerati
onEngine.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(SchemaT
ypeSystemCompiler.java:225)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.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(XMLBean
sExtension.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.

Reply via email to