Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem registering Deserializer

Travis Kramer
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am new to axis and SOAP, and am having problems registering a Deserializer. I am connecting to an existing service which returns
Component returnString
errorDescription - string
errorLevel - string
errorMessage - string
returnValue - string
sessionToken - string
I built a Ser, Dser, and factories for both, ran WSDL2Java. I also called the registerTypeMapping method, but every time I get the error "could not find deserializer for type"... I think that there is a flaw in my Dser and Ser code when instantiating a QName(namespaceURI, localPart). I am not sure exactly what to pass in as arguments and in what format the uri should be in. Does the namespaceURI have to point to the local java class? or to the server? and does the localPart have to be the local Java class name with an uppercase, or the server return component name, or the actual parameter name? Any help would be greatly appreciated.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic