axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Oliver" <>
Subject RE: wsdl2java map long type names
Date Mon, 29 Aug 2005 21:25:27 GMT
Pardon the snide-ness, but it reminds me of the joke, where the guy goes
into the doctor and complains, "doc, it hurts when I hit my head like this"
and the doctor replies, "don't do that".

Why may I ask do you need such long class names?

Michael Oliver
Alarius Systems LLC
6800 E. Lake Mead Blvd, #1096
Las Vegas, NV 89156
*Note new email changed from
-----Original Message-----
From: [] 
Sent: Monday, August 29, 2005 2:08 PM
Subject: wsdl2java map long type names

Hi folks!

I want to call an existing webservice which returns a quite complex 
type-structure. The wsdl contains very long type names which - when 
calling wsdl2java - map to accordingly long java class names which are 
not comfortable to handle. One example:


         <s:element minOccurs="0" maxOccurs="1" 
name="nettoFaelligkeitStr" type="s:string" />
         <s:element minOccurs="1" maxOccurs="1" name="einzelBetrag" 
type="s:double" />
         <s:element minOccurs="1" maxOccurs="1" name="offenerBetrag" 
type="s:double" />

maps to

public class 


I want to add a mapping which transforms those long names to easier to 
handle short names like

public class AbschlagsplanPosition ...

Can anybody tell me how to do this?

Thanx in advance

View raw message