cancel
Showing results for 
Search instead for 
Did you mean: 

EJB and Webservices

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hello,

since I also had problems using arrays, I'm using java.util.List now.

Kind regards,

Christian

Answers (1)

Answers (1)

Former Member
0 Kudos

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.