cancel
Showing results for 
Search instead for 
Did you mean: 

SAP PCo restart web service.

neha1620
Explorer
0 Kudos
450

Hi Experts,

We have requirement of restart agents automatically when it goes to faulty state.I'm using SAP PCo web service for restarting PCo agent.

We are using SAP PCo 15.4, windows edition is window 2016 server and .net framework is 4.8

Self restarting mechanism is trying to restart agent and then it goes to stopped state. I can see below error:

Error174436PCoSvcHostDispatcher1138Could not dispatch Message [id = bd0a3c1c-217f-418c-addd-68c3c8714ca1].DestinationException: [severity = Fatal] Error while calling WS at: http://xxxxxxx:50050/PCoManagement The remote server returned an error: (500) Internal Server Error. The server response is: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><s:Fault><faultcode xmlns:a="http://schemas.microsoft.com/net/2005/12/windowscommunicationfoundation/dispatcher">a:InternalServiceFault</faultcode><faultstring xml:lang="en-US">The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the server trace logs.</faultstring></s:Fault></s:Body></s:Envelope> at SAP.Manufacturing.Connectivity.Destinations.UniWs.Invoker.UniWsInvoker.Invoke(Dictionary`2 variables) at SAP.Manufacturing.Connectivity.Destinations.UniWs.UniWsDestination.Send(Dictionary`2 variables) at SAP.Manufacturing.Connectivity.MultipleCallDestination.MultipleCallDestination.executeDestinationCall(McdDestinationCall destinationCall, McdCalculationEngine calcEngine, Int32 callCounter, Int32 nextDestinationCallIndex, Boolean& breakLoop) at SAP.Manufacturing.Connectivity.MultipleCallDestination.MultipleCallDestination.executeSend(Dictionary`2 inputValues, Boolean exclusiveLock) at SAP.Manufacturing.Connectivity.MultipleCallDestination.MultipleCallDestination.Send(Dictionary`2 inputValues) at SAP.Manufacturing.Connectivity.MultipleCallDestination.MultipleCallDestination.Send(NotificationMessage message) at SAP.Manufacturing.Connectivity.Dispatcher.ProcessMessage(NotificationMessage message, DestinationBase destination) at SAP.Manufacturing.Connectivity.Dispatcher.DispatchMessageExecute(DataQueueItem message, Boolean unlockMessage, Boolean parallelThreads, Boolean failedMessage, Boolean& stopDispatcher)

Can you please help me with this issue?

Thanks in advance.

Thanks,

Neha

Accepted Solutions (0)

Answers (1)

Answers (1)

Kevin_Hunter
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Neha,

This might be a bug , can you please raise a ticket and the support team will investigate.

Thanks

Kevin