cancel
Showing results for 
Search instead for 
Did you mean: 

Debugging SAP web service from .net (VS2008)

Former Member
0 Kudos

I recently moved away from coding against the .net connector and moved to consuming sap web services via .net. Should I be able to debug from VS2008 to sap web service? If so, what are the steps to setting this up?

Note: I familiar with debugging methods used with the .net connector but they didn't work. I also tried a solution posted

in a thread "How to Debug in SAP, .NET used as frontend?" which uses SICF but couldn't get that to work either. ???

JPCOSA

Edited by: jpcosa on Aug 14, 2009 2:38 PM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

go to sm51 and from there (running thread) you can go for debug (put some long running code).

Former Member
0 Kudos

Netweaver Expert,

I tried the following.

1. Open .net project vs2008

2. SAP-->SM51

3. In SM51, >System>Utilities-->Debug ABAP

3. In SM51, select appropriate server in list

4. ABAP Debugger opens with arrow pointing to "perform pai"

5. Run my .net application in debug mode and fire event that calls SAP web service

I expected the application to stop at the breakpoint after doing the above. Did I do something wrong?

Thanks,

jpcosa

Answers (1)

Answers (1)

Former Member
0 Kudos

Netweaver Expert,

Thanks for indirectly helping me solve this problem. The SM51 screen helped me to focus my effort more on the servername/connection/https configuration. I worked with my basis guy to clarify the server alias and http ports being used and this cleared up the problem. I was then able to set an external breakpoint as usual and it worked.

Thanks again,

jpcosa