I am trying to write custom (de)serializers.

When in the AxisServlet, I now ask the wdsl to be generated, I get the
following error

AXIS error
Sorry, something seems to have gone wrong... here are the details:

Fault - ; nested exception is:
WSDLException: faultCode=OTHER_ERROR: Can't find prefix for
'urn:Weight'. Namespace prefixes must be set on the Definition
object using the addNamespace(...) method.:
AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode:
 faultString: WSDLException: faultCode=OTHER_ERROR: Can't find prefix
for 'urn:Weight'. Namespace prefixes must be set on the Definition
object using the addNamespace(...) method.:
 faultActor:
 faultNode:
 faultDetail:


Any clues about the cause of this error.Why should I use a
"addNamespace()" method when there is a typemapping for the types?

Thanks for the help,
Joachim

Reply via email to