| Author |
Axis fails to parse soap message
|
Andrey Karachoun
Greenhorn
Joined: Jan 14, 2003
Posts: 7
|
|
Hi guys, I'm new to web services development and currently stuck with following problem: 1. Got the following WSDL: 2. Generated java classes from WSDL by using WSDL2Java Axis tool. 3. Executed createSessionWithLoginCall - call is processed OK. 4. Axis fails to parse server response createSessionWithLoginResponse: 5. From log I can see that there are pbs with parsing session element, but I don't understand the cause: What's wrong with that? Please help me. Thanks.
|
 |
Rr Kumaran
Ranch Hand
Joined: Sep 17, 2001
Posts: 548
|
|
|
if u r using custom java classes as method arguments and return types then you need to register then using <Call class object>.registerTypeMapping() method in the web service client program
|
RR Kumaran
SCJP 1.4
|
 |
Andrey Karachoun
Greenhorn
Joined: Jan 14, 2003
Posts: 7
|
|
I've resoved the problem -- it was incorrect WSDL, simple type Session instead of complex type. With WSDL like this all works fine. Thanks again.
|
 |
 |
|
|
subject: Axis fails to parse soap message
|
|
|