06-29-2007 3:16 PM
Dear All,
I have a Web Service which calls a Remote-enabled Function Module. When I test the Web Service from wsadmin transaction I do not get the same results as when I execute the remote-enabled function module from se80. I used the same username for the tests.
Would any of you have a suggestion as to why this could happen?
Regards,
Philon
06-29-2007 3:26 PM
Hi,
maybe it is due to the format of the parameters that you fill in in the browser when you test the webservice.
If you want to know the right format, check out the WSDL of the webservice. It's a guess, but it might help...
regards,
Rolf
06-29-2007 3:20 PM
06-29-2007 3:26 PM
Hi,
maybe it is due to the format of the parameters that you fill in in the browser when you test the webservice.
If you want to know the right format, check out the WSDL of the webservice. It's a guess, but it might help...
regards,
Rolf
06-29-2007 3:26 PM
Hi Rich,
No. In fact what happens is that in the se80 case, it returns 29 lines of results and in the wsadmin case it returns 25 lines of results. The web service/function module actually executes unit tests remotely by doing an RFC from the development system to the test system (where the unit tests are executed). In the se80 case, for one object, the unit tests execute correctly. In the wsadmin, the unit tests for that object don't execute hence returning less lines of result.
In both cases, the users used to log in the web service or se80 are the same and the users for the RFC are the same.
Thank you for your insight.
Regards,
Philon
06-29-2007 3:31 PM
06-29-2007 5:33 PM
They are local classes implemented as ABAP Unit. Why?
Regards,
Philon
06-29-2007 5:50 PM
There are some things that may prevent the ABAP unit from executing on a particular system. You mentioned that the WS is over a funciton module which inside this FM, you are doing another RFC to another server, which this FM has some class which has some ABAP unit within.
And you are sure that this remote system has the correct config to allow the ABAP unit to run?
Regards,
RIch Heilman
06-29-2007 6:05 PM
Yes I am sure, since it both se80 and wsadmin execution call the same RFC destination which has a user which can execute unit tests. They both execute but just return different results for a given object.
Thanks,
Philon