Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

WSDL SOAP Error Dereferencing the NULL reference

tkasperski1
Participant
0 Likes
2,587

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:

3 REPLIES 3
Read only

Sandra_Rossi
Active Contributor
0 Likes
2,068

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?

Read only

tkasperski1
Participant
0 Likes
2,068

I'm doing it only for learning purposes, this is my first contact with web service in SAP.

Read only

AliEsiyok35
Newcomer
0 Likes
2,068

Hi,

Did you solve this problem? I am facing same issue.