cancel
Showing results for 
Search instead for 
Did you mean: 

Debug Webservice in C4C SDK

bodo_koerner
Participant
0 Kudos

Hello,
in C4C SDK I want to debug an incomming Web Service Request for a custom webservice.
But the _xxxx - User given by Communication Arrangement is not logged on in SDK.
(and can't be as far as I know)
How can this User's Webservice Request be debugged ?

Accepted Solutions (1)

Accepted Solutions (1)

rohanarthur
Participant
0 Kudos

Hi Bodo,

Have you tried using a test tool like SOAPUI? This is available for free download.

Here, you can provide your business user, after the relevant setting breakpoints for that user. Just make sure that the business user has the necessary workcenter authorization that you specified for your custom service.

Regards,
Rohan

bodo_koerner
Participant
0 Kudos

Hi Rohan,
yes I used SOAP UI.
Using a business User leads to an Error:
"Authorization role missing for service"

The communication arrangement does provide only a fixed user _xxx.

Regards
Bodo

rohanarthur
Participant
0 Kudos

Hi Bodo,

Great.. then it should be easy with SOAPUI.
In the SDK, under your web service ("xxx.webservice" file), if you have maintained a workcenter view assignment, you will see a "xxx.wsauth" file. Here, you will see the workcenter assignment for the web service.

Next, make sure that your business user has access to this workcenter view.

Thirdly, make sure that your breakpoints are activated for the same business user.

Lastly, test the web service with the same business user.

Just tried this, and it works for me.

Regards,
Rohan

bodo_koerner
Participant
0 Kudos

Hi Rohan,
there is a workcenter view in my sdk solution called "DynamicChange.WCVIEW.uiwocview"
but when I edit my user's access rights this solution is not shown at all.
So I can't assign the work center.

Regards

Bodo

rohanarthur
Participant
0 Kudos

Hi Bodo,

H'm.. perhaps adding the workcenter view to a workcenter will cause it to appear in the role assignment? I'm not sure.

Regards,

Rohan

Answers (0)