on 08-31-2010 7:11 PM
I copied function WRF_MATERIAL_MAINTAINDATA_RT to a new function with name Z_WRF_MATERIAL_MAINTAINDATA_RT, and created a new web service based on that new function. The function has a table parameter called "return", and so does the WSDL generated from that function.
When I generate a stub from that WSDL on the client side by using Axis 1.4, the generated stub has parameter called "_return" (note the leading underscore) in place of the parameter "return". Return is a reserved word in Java.
The table parameter "_return" is always empty after the web service call. I have checked with debugger on the SAP side that the function Z_WRF_MATERIAL_MAINTAINDATA_RT does return some rows in that parameter!
Is this a bug in Axis??? Do you know any work-arounds (other than renaming the parameter to something like "return1")?
The problem was not with the parameter name. The problem was that the holder in the calling side had not been allocated properly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Juhani,
Do you try to execute the Web Service with SoapUI or XMLSpy??
I think that is not a problem with abap side, but with java. I recomend to you use the following prefix in function modules:
IMPORTING: I_
EXPORTING: E_
TABLES: T_
Regards,
Edson Thomaz
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 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.