RE: WSDL2Java Problem: Cannot generate single element complex type

2010-05-20 Thread McBride, Devin (TS)
My apologies - I should have specified, we are not yet on Axis2 (cannot upgrade for the foreseeable time). We are currently on Axis WS 1.4. In this example IS generated: GeoCoordsFromModelRunIDRequestType NOT generated: GeoCoordsFromModelRunIDResponseType If I add a 2nd element to the Re

RE: WSDL2Java Problem: Cannot generate single element complex type

2010-05-20 Thread Martin Gainty
also please post *any* xsds e.g. your wsdl includes Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflic

Re: WSDL2Java Problem: Cannot generate single element complex type

2010-05-20 Thread Jorge Medina
Post the relevant segment of your WSDL and the parameters used to call wsdl2java. I use Axis2 to generate a lot of complex types with a single element without problems On Thu, May 20, 2010 at 2:05 PM, McBride, Devin (TS) wrote: > I have a complex class that, for the time, only holds a single el

WSDL2Java Problem: Cannot generate single element complex type

2010-05-20 Thread McBride, Devin (TS)
I have a complex class that, for the time, only holds a single element. While WSDL2Java runs successfully (without errors) no stub is created for this complex type. Further, a call to this operation returns a type of the element being held by the complex type, rather than the complex type itself.

Re: InputStream to DataSource In Axis2

2010-05-20 Thread Andreas Veithen
On Thu, May 20, 2010 at 00:18, Nirav Shah wrote: > Thanks Andreas/Jorge, > > i used the Axiom package(snapshot). > > I have the WSDL using xs:base64Binary (MTOM),. I got an OutOfmemory error > when making a call to the service. So i used a smaller file and that seemed > to have work. Can you prov

RE:

2010-05-20 Thread Martin Gainty
MTOMSampleMTOMSampleSOAP11Port_httpStub serviceStub = new MTOMSampleMTOMSampleSOAP11Port_httpStub( //"http://localhost:8081/axis2/rest/MTOMSample"; ); serviceStub._getServiceClient().getOptions().setProperty(Constants.Configuration.FILE_SIZE_THRESHOLD, "4000"); Martin Gainty