generate.client is working.
 
I have deployed the sample.
 
when i try to upload a 20 MB file, its giving a Socket Read timeout
exception.
am using tomcat server
 
java,net.SocketTimeOutExeption : Read Timed Out
 
i have given sufficient timeout on the client also
 
serviceStub._getServiceClient().getOptions().setTimeOutInMilliSeconds(10
0000000);
 
Is there any settings which need to be configured, in axis or tomcat.
 
 
Thanks
Rajesh


________________________________

From: Thilina Gunarathne [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 02, 2008 12:37 PM
To: [email protected]
Subject: Re: Axis2 - MTOM Sample error


Did you try the generate.client target in the build.. It is suppose to
generate the client stubs.. 

Please log a jira if generate.client is not generating the client
stubs..

thanks,
Thilina


On Fri, May 2, 2008 at 11:29 AM, PR, Rajesh (GE Infra, Energy, Non-GE)
<[EMAIL PROTECTED]> wrote:


        One small feedback.
        The Mtom sample build file doesnt generate the client stubs.
        i had to add -g option to build file to get the stubs
         
        Thanks
        Rajesh

________________________________

        From: PR, Rajesh (GE Infra, Energy, Non-GE) 
        Sent: Friday, May 02, 2008 11:52 AM 

        To: [email protected]
        
        Subject: RE: Axis2 - MTOM Sample error
        
        
        Thanks a lot.
        i made a clean build from scratch again. 
        i dont know what was causing the issue.
         
        Downloaded ant, axis2 1.3 fresh and set it up.
         
        am able to build now.
         
        Thanks a lot for the support
         
        - Rajesh

________________________________

        From: Thilina Gunarathne [mailto:[EMAIL PROTECTED] 
        Sent: Thursday, May 01, 2008 11:52 PM
        To: [email protected]
        Subject: Re: Axis2 - MTOM Sample error
        
        
        That ant build uses wsdl2java... I'm not sure why it prints out
wsdl2code options... 
        
        Can you confirm that your are using axis2-1.3 binary
distribution without any changes to the build script or the directory
hierarchy of the extracted dist...
        
        See the following and check whether your build file have any
other modifications..
        
http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/sample
s/mtom/build.xml?view=markup
        
        
        Also check the following build script from another sample... It
has the -d adb option in it..
        
http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/sample
s/quickstartadb/build.xml?view=markup
        
        ~Thilina
        
        On Thu, May 1, 2008 at 9:30 PM, PR, Rajesh (GE Infra, Energy,
Non-GE) <[EMAIL PROTECTED]> wrote:
        

                Hi,
                 
                    am using the ant build thats provided with the
sample.
                i added the option -d adb. But the WSDl2Java am using
doesnt have this option.
                am using Axis2 1.3. Following are the only options i
have
                generate.service:

                [java] Usage WSDL2Code -uri <Location of WSDL> :WSDL
file location

                [java] -o <output Location> : output file location

                [java] -a : Generate async style code only. Default if
off

                [java] -s : Generate sync style code only. Default if
off. takes precedence over -a

                [java] -p <package name> : set custom package name

                [java] -l <language> : valid languages are java and
csharp. Default is java

                [java] -t : Generate TestCase to test the generated code

                [java] -ss : Generate server side code (i.e.
skeletons).Default is off

                [java] -sd : Generate service descriptor (i.e.
axis2.xml).Default is off.Valid with -ss

                 
                Requesting Help me with this issue. Am trying to use
Axis2 for  file transfer using MTOM
                
                Thanks
                Rajesh
                 
________________________________

                From: Thilina Gunarathne [mailto:[EMAIL PROTECTED] 
                Sent: Thursday, May 01, 2008 10:06 PM 

                To: [email protected]
                
                Subject: Re: Axis2 - MTOM Sample error
                
                  
                
                Hi,
                MTOM sample comes with XMIME.xsd and has a schema import
to that from the wsdl... Are you using the standard ant build provided
with the sample...
                
                The sample is supposed to be code generated using ADB as
XMLBeans does not have full support for MTOM... The ant build is written
to use the Axis2's default data binding, which is ADB... Try adding a
the following line to the generate.service & generate.client targets in
the ant build..
                
                
                <java classname="org.apache.axis2.wsdl.WSDL2Java" ....>
                            .....
                            <arg line="-d adb"/>
                            ....
                
                        </java>
                thanks,
                Thilina
                
                
                

                                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.


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




                -- 
                Thilina Gunarathne - http://thilinag.blogspot.com 




        -- 
        Thilina Gunarathne - http://thilinag.blogspot.com 




-- 
Thilina Gunarathne - http://thilinag.blogspot.com 

Reply via email to