axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christophe Felix-Henry" <>
Subject Java2Wsdl problem with empty package name
Date Thu, 06 Dec 2001 17:50:38 GMT
I'm trying to generate WSDL from a java class without package name.
I  get the following exception:

java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(
at org.apache.axis.wsdlgen.Types.getTypeQName(
at org.apache.axis.wsdlgen.Types.writeTypeNamespace(
at org.apache.axis.wsdlgen.Types.writeTypeAsElement(
at org.apache.axis.wsdlgen.Types.writePartType(
at org.apache.axis.wsdlgen.Emitter.writePartToMessage(
at org.apache.axis.wsdlgen.Emitter.writeRequestMessage(
at org.apache.axis.wsdlgen.Emitter.writeMessages(
at org.apache.axis.wsdlgen.Emitter.writePortType(

I think it is a minor bug. It seems to work fine if I force an empty String
for the
package name when no package is defined in the full class name.

I'm using an alpha3 build.

-- Christophe

View raw message