cancel
Showing results for 
Search instead for 
Did you mean: 

Error creating Endpoints

Former Member
0 Kudos

Hi all,

I have developed a web service and I am trying to generate a service endpoints with SOAMANGER.

but when I try to save I get an error:

SRT Framework exception: Configuration is invalid: Invalid cardinality "AuthenticationMethod"

I thought I was trying to use the wrong authentication method. I know web dynpro and if I am not wrong, "invalid cardinality" means that on a node, there the wrong number of elements. I tried 0 1 and 2 method of authentication, but getting always the same error. does anybody know where is my mistake?

thanks in advance.

gabriele

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

I solved it: it was not a configuration error; it was simply the browser I was using. This error is not given with internet explorer.

Former Member
0 Kudos

Please make sure user has the below roles assigned

Ask your Basis team add the following Authorization Role for you.

SAP_BC_WEBSERVICE_ADMIN or SAP_BC_WEBSERVICE_ADMIN_TEC

then,

go to SICF transaction under /sap/bc/srt/wsil path, test the service and look for service provider you want to consume.

you get 2 links then test for logical port.

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/media/uuid/20eb3174-41ab-2a10-a383-907faf60ee...

The link is constructed in the following way:

http://<host_name>:<port>/sap/bc/srt/wsil?sap-client=<sy-mandt>

or you can use transaction SICF then navigate to node /sap/bc/srt/wsil

and press "Test service" from the context menu.

In case there is a Service Registry in your system landscape to which the provider system is connected the profile-based endpoints could be found in that Service Registry as well.

you can follow note 1330545

/people/franklin.herbas/blog/2007/12/11/service-modeling-with-the-esr

/people/peter.mcnulty/blog/2008/02/04/service-implementation-in-abap

regards

nag