on 10-09-2004 12:16 PM
Hi,
I am trying to create a BAPI as a web service.There is a BAPI which is used to send mails. It takes four Parameters. Three parameters are of type String but the fourth one that is the actual message takes an object of a Structure defined in SAP. I am getting a class of that type after generating the proxy class for the BAPI using SAP Enterprise Connector. In Java when I am trying to set the object of the structure to the input object I am not getting the same object as a parameter but instead i am getting the object as Text, which i am not able to set.
Can anybody tell me if there is any other way?
Regards
Cash
> Hi,
> I am trying to create a BAPI as a web
> web service.
How are you doing this?
with your system (6.4) it is possible to get the WSDL with the following url
http://<was_server>:<port>/sap/bc/soap/wsdl11?services=<BAPI_NAME_IN_CAPS>&sap-client=021
It looks to me that the tables parameter is set to optional in BAPI deifnition. If yes -> you need to initialize the table parameter in you java code.
Regards
Raja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Prakash,
what Application Server Version are you using? If you are running 6.20 the BAPI is already as a Webservice. Have a look at the BSP Application "webservicebrowser".
Regards
Gregor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
4.7 runs on WebAS 6.20. And all RFC enabled Function Modules are also avaliable as Webservices. Have a look at:
http://your.server.dom:8000/sap/bc/bsp/sap/webservicebrowser/search.html
Regards
Gregor
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
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.