Re: Axis2 wsdl2java exception problem

2010-08-04 Thread sri ram
We have encountered this kind of exception before where a schema element was not correctly defined. Or when the complex type is not declared but used in the schema.As such wsdl2java doesn't give the detailed logs for figuring the exception directly. (Axis User pls correct if i am wrong here)

send big attachments problem

2010-08-04 Thread 王朋义
Hello, I can send a small attachments using mtom. but when I send a >100M attachments, the error:” java heap space”. So I set the cache in client and server: Server: true C:/upload/tep/ 4000 Client: stub._getServiceClient().getOptions().setProperty(Constants.Configuration.CA CH

RE: Axis2 wsdl2java exception problem

2010-08-04 Thread Jeffrey Schmidt
Hello, Thanks for responding. I also thought that looked like the most ‘useful’ line of the ouput, but. . . is there some way to get wsdl2java to report what line of the wsdl file it was parsing when it encountered the error, or any other, more detailed info, about the error? I’m having some

Re: Axis2 wsdl2java exception problem

2010-08-04 Thread sri ram
Hi Jeff, WSDL2java tool throws this exception mostly in cases where the Schema provided to it to compile is not valid. Check on this message provided by the stack trace. can not find type {http://schemas.xmlsoap.org/soap/encoding/}Array from the parent sche ma urn:testtrack-interface -Srira

Axis2 wsdl2java exception problem

2010-08-04 Thread Jeffrey Schmidt
Hello, I am attempting to develop a Java client program for a SOAP-based Web Service (not written in Java), using Axis2. I want to generate client stub classes from a .wsdl file published by the web service. To do that, I'm using the following command: wsdl2java -uri http://hostname/ttsoap