Hi,
I´m using tWebServiceInput but when i run the job i got the message:
"02/07/2007 14:43:27 org.apache.axis.client.Call invoke
SEVERE: Exception:
org.xml.sax.SAXException: Found character data inside an array element while deserializing"
Somebody could help me ?
I changed the return type of my webservice to Object[], and deleted the webservice's parameters.
When i run the job i got the message: "Exception in component tWebServiceInput_1
java.lang.ArrayIndexOutOfBoundsException: 0".
The line number in the message error points to this line in the source:
"results_tWebServiceInput_1 = String.valueOf(tempArray_tWebServiceInput_1);"
The webserviceinput work just with Object[] parameters and returns ?
Zida
Hi
I could get the return value of webservice, but i have to change the type of the return.
In my webservice i set the return with the type Object and create the return like this:
Object var = new String();
var = "OK: " ;
return var;
Now i have one more trouble. I created one parameter named cdEmpresa, type: Long, value: 101.
My webservice are like this:
@WebMethod
public Object EnviaDadosServidor(@WebParam(name = "cdEmpresa") long cdEmpresa) {......
And i´m setting the return with this parameter:
return var + " " + cdEmpresa; and the value is always 0.
How i need to set my parameters ?! If i set just one parameter with Object[], it´s doesn´t work either.
Zida
Great , with all the details, I finally reproduce and identify the bug with the tWebServiceInput. I'm going to declare it, and give you news before 2.1.0 final. Thanks for your support.