Hi Felix, Would be better if you can create a Jira and attach the patch. Jira makes it easier to keep track of changes.
Thanks, Keith. On Tue, May 6, 2008 at 7:57 PM, Felix J. Ogris <[EMAIL PROTECTED]> wrote: > Hi, > > I had some issues with Axis2 1.4 and MS Visual Studio when using POJO > functions without any parameters, eg.: > > public String getSomething() { > ... > } > > From the WSDL, VS generated a prototype for getSomething() that returns an > instance of getSomethingResponse instead of a String. getSomethingResponse > contained one member variable, a String called return. It turned out that > VS > needs an empty input element in the WSDL, eg.: > > <xs:element name="getSomething"> > <xs:complexType> > <xs:sequence/> > </xs:complexType> > </xs:element> > > My patch applies to > > modules/kernel/src/org/apache/axis2/description/java2wsdl/DefaultSchemaGener > ator.java. It does nothing more than removing the check whether > paras.length > is greater than zero in processMethods(). > > Regards, > Felix > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- Keith Chapman Senior Software Engineer WSO2 Inc. Oxygenating the Web Service Platform. http://wso2.org/ blog: http://www.keith-chapman.org