You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsif-user@ws.apache.org by Susana Alejandro <su...@hotmail.com> on 2004/05/05 17:20:16 UTC
Problem with WSIF-AXIS server deserialization with int types
I am developing the access to a Web Service using WSIF, JROM as schema and
two providers Apache SOAP and Apache AXIS.
The web service is a simple calculator where two numbers are added. I have
two different methods, one with int parameters and the other one with String
parameters.
When I use Apache Soap provider the execution goes ok in both cases, with
int parameters and with String parameters, but if I use Apache AXIS then the
execution with the String parameters goes ok but with int parameters I have
got an error when the deserialization begin at the server side. The
exception is
JAXRPC.TIE.01: caught exception while handling request: deserialization
error: java.lang.NumberFormatException: For input string: ""
Anybody knows where is the problem? I can attach the source of my code if it
is necessary.
Thanks in advance.
Susana.
_________________________________________________________________
Horóscopo, tarot, numerología... Escucha lo que te dicen los astros.
http://astrocentro.msn.es/
Re: Problem with WSIF-AXIS server deserialization with int types
Posted by Aleksander Slominski <as...@cs.indiana.edu>.
Susana Alejandro wrote:
> I am developing the access to a Web Service using WSIF, JROM as schema
> and two providers Apache SOAP and Apache AXIS.
>
> The web service is a simple calculator where two numbers are added. I
> have two different methods, one with int parameters and the other one
> with String parameters.
>
> When I use Apache Soap provider the execution goes ok in both cases,
> with int parameters and with String parameters, but if I use Apache
> AXIS then the execution with the String parameters goes ok but with
> int parameters I have got an error when the deserialization begin at
> the server side. The exception is
Susana,
did you run it under Axis TCP Monitor (tcpmon)
<http://ws.apache.org/axis/java/user-guide.html>? does XML looks OK to you?
<http://ws.apache.org/axis/java/user-guide.html>
>
> JAXRPC.TIE.01: caught exception while handling request:
> deserialization error: java.lang.NumberFormatException: For input
> string: ""
this may be problem with multiRefs - try to set multiRefs in AXIS to false.
>
> Anybody knows where is the problem? I can attach the source of my code
> if it is necessary.
giving enough information to reproduce problem (and not symptoms) always
increases chances of useful help ...
HTH,
alek
--
The best way to predict the future is to invent it - Alan Kay