cancel
Showing results for 
Search instead for 
Did you mean: 

Error while publishing service definition in Services Registry

Former Member
0 Kudos

I created a service interface in ESR and published the WSDL to my Services Registry. Now when I go to the "Publish" tab in the Services Registry to provide a definition for this service, after entering the WSDL and clicking on "Next" I get a pop-up for username and password. Neither the ESRAdmin, the user with Services Registry Read Write permissions nor the Administrator credentials seem to work.

I get the following error:

com.sap.esi.uddi.sr.api.exceptions.SRExceptionerror code: null detail message: com.sap.esi.uddi.sr.impl.uddi.wsdl.validation.ValidationException: <Localization failed: ResourceBundle='com.sap.engine.services.webservices.wscm.validation.accessors.validation', ID='WSDL_WSDL_EXCEPTION', Arguments: [' WSDL 'option' can not have child 'wsp:Policy' of namespace 'http://schemas.xmlsoap.org/ws/2004/09/policy' !', 'http://localhost:50000/rep/publicwsdl/ext/?service=publicwsdl&method=serviceinterface&p1=e77cf5e08e7f11dda32c001b77a40d2b&p2=c898d96af94a32fab2382f09c93a975d']> : Can't find bundle for base name com.sap.engine.services.webservices.wscm.validation.accessors.validation, locale en->com.sap.esi.uddi.sr.impl.uddi.wsdl.validation.ValidationException: <Localization failed: ResourceBundle='com.sap.engine.services.webservices.wscm.validation.accessors.validation', ID='WSDL_WSDL_EXCEPTION', Arguments: [' WSDL 'option' can not have child 'wsp:Policy' of namespace 'http://schemas.xmlsoap.org/ws/2004/09/policy' !', 'http://localhost:50000/rep/publicwsdl/ext/?service=publicwsdl&method=serviceinterface&p1=e77cf5e08e7f11dda32c001b77a40d2b&p2=c898d96af94a32fab2382f09c93a975d']> : Can't find bundle for base name com.sap.engine.services.webservices.wscm.validation.accessors.validation, locale en->com.sap.esi.uddi.sr.impl.uddi.wsdl.validation.ValidationMessage: <Localization failed: ResourceBundle='com.sap.engine.services.webservices.wscm.validation.accessors.validation', ID='WSDL_WSDL_EXCEPTION', Arguments: [' WSDL 'option' can not have child 'wsp:Policy' of namespace 'http://schemas.xmlsoap.org/ws/2004/09/policy' !', 'http://localhost:50000/rep/publicwsdl/ext/?service=publicwsdl&method=serviceinterface&p1=e77cf5e08e7f11dda32c001b77a40d2b&p2=c898d96af94a32fab2382f09c93a975d']> : Can't find bundle for base name com.sap.engine.services.webservices.wscm.validation.accessors.validation, locale en

I am using CE 7.1 EHP1.

Please advice.

Regards,

Puja

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Puja,

I was wondering if you were able to resolve the issue with the WSDL URL requiring credentials. Also I was wondering if you know how to populate the registry with some of the 4000 software components that are in the SLD.

Regards,

Edwin Avedian

Former Member
0 Kudos

Actually I am using CE 7.1.1 Here the Services Registry already has a screen to publish the service definition.

My problem is that when I enter the WSDL URL and click on next, a pop-up window appears asking me for user credentials. Which user credentials am I supposed to enter at this stage?

The Administrator credentials do not work.

Regards,

Puja

Former Member
0 Kudos

Hi Puja,

the below blog explains another way how to publish your web services on the services registry:

Best regards,

Yasar