axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix J. Ogris" <>
Subject WSDL / void POJO functions (patch included)
Date Tue, 06 May 2008 14:27:06 GMT

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">

My patch applies to
modules/kernel/src/org/apache/axis2/description/java2wsdl/DefaultSchemaGener It does nothing more than removing the check whether paras.length
is greater than zero in processMethods().


View raw message