2021 Jan 05 1:11 PM
Hello,
I have a problem with web service. What I did?
1. I created function module remote-enabled in function group, I tested and function is working fine.
2. When I was in function module (SE37) I clicked Utilities->More Utilities->Create Web Service-> From The Function Module. So I created Service Definition with that remote-enable function module.
3. Then I opened SOAMANAGER I found my Service definition and created Service and bidding. Then I click on "Open Service WSDL Generation" and then I opened WSDL URL.
4. I went to SE80 and create Service Consumer. I had a problem "Exception occurred in library handler" So I add entry in SPROXSET table (Name: NO_RPC_STYLE, User Name: my_username, Value: X).
5. It worked! I created service consumer saved and activated.
6. I went to SOAMANAGER again. I found my Consumer Proxy I clicked on it and then Create->WSDL Based Configuration. I type name and clicked next I paste link to my WSDL and clicked next.
7. AND HERE IS A PROBLEM! 
What I found about a problem?
1. I can't create Logical Port that I need to test my Service Consumer
2. When I deleted my entry in SPROXSET the same problem appear.
3. I have problem with WSDL. I tested it using RSSIDL_DESERIALIZE_DEMO program and I have this as a result:

Hello,
I have a problem with web service. What I did?
1. I created function module remote-enabled in function group, I tested and function is working fine.
2. When I was in function module (SE37) I clicked Utilities->More Utilities->Create Web Service-> From The Function Module. So I created Service Definition with that remote-enable function module.
3. Then I opened SOAMANAGER I found my Service definition and created Service and bidding. Then I click on "Open Service WSDL Generation" and then I opened WSDL URL.
4. I went to SE80 and create Service Consumer. I had a problem "Exception occurred in library handler" So I add entry in SPROXSET table (Name: NO_RPC_STYLE, User Name: my_username, Value: X).
5. It worked! I created service consumer saved and activated.
6. I went to SOAMANAGER again. I found my Consumer Proxy I clicked on it and then Create->WSDL Based Configuration. I type name and clicked next I paste link to my WSDL and clicked next.
7. AND HERE IS A PROBLEM! 
What I found about a problem?
1. I can't create Logical Port that I need to test my Service Consumer
2. When I deleted my entry in SPROXSET the same problem appear.
3. I have problem with WSDL. I tested it using RSSIDL_DESERIALIZE_DEMO program and I have this as a result:

2021 Jan 05 4:35 PM
I'm curious to know if it's normal that you consume your own RFC-enabled function module from a program in the same ABAP system (or am I wrong?) via a Web Service instead of a simple ABAP call? Is it on purpose or do you have different ABAP systems?
2021 Jan 05 5:04 PM
I'm doing it only for learning purposes, this is my first contact with web service in SAP.
2022 Mar 25 4:36 PM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |