on 09-06-2004 11:48 AM
Has anyone experienced problems with EJB published as a webservices when methods has parameters of type array?
I tried also byte[], Byte[], Int[], int[]. I think that the webservice can not find the length of the parameter, because when I use byte[] or int[] I get an ArrayOutOf Bounds, and when I use Byte[] or Int[] I get NumberFormatException. I use the soap dispatcher of the SAP J2EE to publish the EJB.
When I use a portal service and a web service it works fine, but I have problems with multiple calls at the same time.
If anyone has an ideal please help.
Best Regards,
Lucian.
Hello,
since I also had problems using arrays, I'm using java.util.List now.
Kind regards,
Christian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, the thing is I have to send files using web services, so I use byte[]. I will need to send a very big amount of information, and I think a List will slow the process down too much.
Best Regards,
Lucian.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.