cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to publish Service Interface from ESR to Services Registry

Former Member
0 Kudos

Hi,

I am working on CE 7.1 EHP1.

When I try to publish a Service Interface from the WSDL tab in ESR, I get an error that says the Service Registry is not available.

What are the configurations I need to perform to be able to publish ESR Service Interfaces to the Services Registry.

I logged onto NWA as Administrator and checked the Consumer Proxies under SOA Management -> Single Service Administration.

I could not follow what I need to perform there as is mentioned in http://help.sap.com/saphelp_nwpi71/helpdata/en/46/5a6d50edc70db7e10000000a1553f6/frameset.htm

The error is get is:

====================================================================

= Root Exception ===================================================

====================================================================

Thrown:

com.sap.aii.ib.core.uddi.RegistryClientException: Services registry is not available; for more information, see the log

at com.sap.aii.ib.server.uddi.RegistryClientDelegateProvider$EjbRegistryClient.publishPhysicalSystems(RegistryClientDelegateProvider.java:435)

at com.sap.aii.ibrep.server.esregistry.ServicesRegistryBean.publishPhysicalSystem(ServicesRegistryBean.java:320)

at com.sap.aii.ibrep.server.esregistry.ServicesRegistryBean.publishServiceInterface(ServicesRegistryBean.java:1032)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:46)

at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)

at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)

at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)

at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:71)

at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)

at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:38)

at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:22)

at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)

at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:189)

at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:16)

at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)

at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:21)

at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)

at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:16)

at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)

at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:133)

at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:164)

at $Proxy1526.publishServiceInterface(Unknown Source)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at com.sap.engine.services.rmi_p4.P4DynamicSkeleton.dispatch(P4DynamicSkeleton.java:234)

at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:355)

at com.sap.engine.services.rmi_p4.server.ServerDispatchImpl.run(ServerDispatchImpl.java:69)

at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:67)

at com.sap.engine.services.rmi_p4.P4Message.execute(P4Message.java:41)

at com.sap.engine.services.cross.fca.FCAConnectorImpl.executeRequest(FCAConnectorImpl.java:971)

at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:57)

at com.sap.engine.services.cross.fca.MessageReader.run(MessageReader.java:55)

at com.sap.engine.core.thread.execution.Executable.run(Executable.java:109)

Regards,

Puja

Edited by: Puja Malhotra on Oct 1, 2008 3:36 AM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

you can try the following:

1. Configure UDDI_DESTINATION and CLASSIFICATION_DESTINATION from host:port/nwa-> SOA Management -> Destination Template Management

Create new destination UDDI_DESTINATION

Destination Type: WSDL

Destination Name: UDDI_DESTINATION

URL: http://host:port/uddi/wsdl/uddi_v3_service.wsdl (where your server runs)

System: Java

Authentication : HTTP Authentication

User ID/Password (Basic)

User ID: uddi authorized user

Password: password of this user

Create new destination CLASSIFCATION_DESTINATION

Destination Type: WSDL

Destination Name: CLASSIFICATION_DESTINATION

URL: http://host:port/ClassificationService/CS?wsdl (where your server runs)

System: Java

Authentication: HTTP Authentication

User ID/Password (Basic)

User ID: uddi authorized user

Password: password of this user

2. configure service registry from host:port/nwa-> SOA Management -> Business Administration -> Web Services Administration

Client Proxy Name: ServicesRegistrySi

Authentication: User name/password

Role: SERVICES_REGISTRY_READ_WRITE

Look also at the port od the service , if it is the correct port of your server.

best regards,

v s

Former Member
0 Kudos

Both the destinations are configured as per you have mentioned. What should be the users for both these destinations? Should it be ESRAdmin, or SAP_CAF_ADMIN or Administrator?

When I got to NWA -> SOA Management, I do not see any Business Administration option in the menu or Web Service Administration among the tool icons. I only see Single Service Administration icon. I can see Consumer Proxies if I click on it.

There is no possibility to configure a user id/password or role for the ServiceRegistrySi consumer proxy.

Again, I am using the trial version for CE 7.1 EHP1

Regards,

Puja

Former Member
0 Kudos

Hi,

I havent got the EhP so I dont know if smth has changed.

Can you log to http://host:port/sr without problems? And can you see the port number for ServiceRegistrySi ?

best regards,

v s

Former Member
0 Kudos

Hello Puja

Have you manged to solve this issue?

regards

Shai