Handling error on service side

We have WCF service implemented in our project and it contains very complicated error handling. Pretty much all methods start with Try\catch block which are catching generic exception. Mean catch all. We would like to rework this service and I was trying
to find some information's about error handling for WCF services. However information's which I found are very confusing. Let's say that we have following OperationContract implementation :
public IEnumerable<string> GetInstanceUids(string seriesInstanceUid)
if (string.IsNullOrEmpty(seriesInstanceUid))
throw new ArgumentException("Given serieInstanceUid can't be null or empty string;");
return myIsaDataProvider.QueryDicomInstances(seriesInstanceUid).ToList();
Now what I found on internet is following statement (or similar). In instances where an unhandled non-FaultException is thrown, one of the following may happen based on the instance management settings of your service. For sessionful services: The session
is terminated, the service instance is disposed and the channel will be in the faulted state, thus the proxy cannot be reused.
This doesn't make much sense to me as base on the MSDN all such exception are automatically converted to FaultException. So in which case code call cal lead to non-FaultException exception type ? Also from my synthetic test (debug environment) I can call
that method many times with null argument and service is still in operational state (it will not refuse to make additional calls). On client side I'm just handling FaultException which will log message.
So main question is. Are code as in our contract going to fault service as such so no further calls will be possible in service instance ? Which mean that all our service methods need to be wrapped in try\catch blocks and swallow all exceptions. Which is
not optimal from performance reasons.

thnx for your response, but I don't see how your reply can be marked as answer if it's not answering original question ! Question was if service will be in faulty state.
It wouldn't be in a faulted state if you had learned how to develop a WCF service properly, which would have involved request/response objects and catching the exception properly and returned the response object.  Something is causing the service
to crash, and you don't know what it is.
https://msdn.microsoft.com/en-us/library/ff699490.aspx
If you have ever seen or used the Web Service factory that builds the WCF Web service and uses Request/Response objects, you would appreciate the Request/Response objects in play. And there wouldn't have been some kind of generic exceptions where WCF
swallowed the real exception on tossed you back the catch 22 exceptions.   It should have never made it to a fault exception.

Similar Messages

  • ORA-12519 TNS NO APPROPRIATE SERVICE HANDLER - ERROR

    Hi,
    We are using JDeveloper 11g for developing our web applications in our company and connecting oracle database through DB Connectivity option. We give the informations like username, password, hostname, sid, port number for getting the DB connectivity and developing web applications through ADF Faces in JDeveloper 11g, and around 25 people are getting connected to Database and developing their respective pages.
    For first 30 minutes there is no DB problem, working quitely. After 30 minutes we are getting the error ORA-12519 TNS No appropriate service handler error, we tried to solve this problem by raising process number to 200 in init.ora file and killed the inactive sessions by getting session id from V$session table and restarted the DB Server. But still we are having this problem ORA-12519, after 30 minutes of starting the DB Server.
    Can anyone suggest or help to overcome this problem ORA-12519.
    Thanks
    Saravanan N
    Edited by: user11100608 on May 21, 2009 11:25 PM

    See if metalink note 552765.1 helps you in this case.

  • How to handle errors in a file at sender side?

    Hi
    I have done a file to proxy scenario.
    I know how to handle errors on proxy.
    But on sender side when picking the file if one the record have worng fomat its throwing mapping error and its not processing any record..
    I wanted to process the records which have right format and data and  all remaining recrods which have wromg format should be send back to the sender as file.
    How to do this.
    How to handle error in sender file.
    Regards
    Sowmya

    Hello Sowmya,
    In your scenario Three ways you can validate the data.
    1) Before the data reaches into SAP system ie in XI system during Mapping or before mapping i,e in Adapter Module in the Sender side
    2) this option, is in the receiver applications side. ie. Validations will be taken care in the SAP system i.e in ABAP server proxy code.
    3)Through BPM, If Mapping Exception Occures then through exception Branch you can send bad formate file to sender again.
    Generally, it is prefer to more business critical validations in the Application System ie Receiver Application System (ABAP Server Proxy)
    In this, you can have more flexibility of the validations as you are validating some of the SAP payroll informations as Personal ID etc.
    Based on the complexity and flexibility of the requirement, you can either do this in the XI (if XI, ie Sender Adapter Module or Mapping) or in the ABAP proxy
    Thanks'
    Sunil Singh

  • OSB - Error handling, report via service callout?

    I'd like to use Report Action on any error happened in my services. I'd also like to keep only one Report Action to be able to change its configuration later easily if needed.
    As it seems currently, if I add the Report Action to the Error Handler of the service directly, it logs the error code/reason/etc correctly, but if I move the Report Action to a separate service and add a service callout to the Error Handler instead of calling the Report Action directly, I lose the error information (I get the report message but error code/reason/details will be all NULL in the database).
    Am I doing something wrong here? Is that a limitation of the product? Is there any solution to keep the report actions centralized in this case?
    Thanks..

    hi guys,
    thanks for all the suggestions though it's still not working here. Hopefully clarifying the situation:
    a) service -- error handler -- report error
    b) service -- error handler -- service callout -- report error
    a) works, b) does not.
    The syndromes for not working is that the reported message has error code, reason and detail all empty (NULL if I look directly in the database). I suspect the problem is with my service callout in scenario b).
    The service callout originally was made using the following parameters:
    Request document variable: body
    Response document variable: response
    SOAP request header: header
    SOAP response header: rheader
    Reading your suggestions I tried to set the request document variable from 'body' to 'fault', but it did not help either: I get the report message but still no error information in the message.
    How exactly should this service callout look like to properly transfer the error details to the called pipeline?

  • Since last weekend (3-15-15) I have been unable to send/receive text messages with a friend who has Sprint service. The messages send with no errors on either side, but neither side is receiving the messages. Is anyone else having any similar issues?

    Since last weekend (3-15-15) I have been unable to send/receive text messages with a friend who has Sprint service. The messages send with no errors on either side, but neither side is receiving the messages. It seems to be only this one person affected by this issue, everyone else that I've tried sending messages to has responded with no trouble. Is anyone else having any similar issues?

    Retrohacker, Your text messages are too important to be missed! Let's figure this out, together. Are you able to successfully make and receive calls from your friend? Which phone do you have with us? Any new messaging applications or changes that you can recall on the phone since this issue began? Please share details so we can get to the bottom of this for you.  TanishaS1_VZW Follow us on Twitter @VZWSupport  If my response answered your question please click the "Correct Answer" button under my response. This ensures others can benefit from our conversation. Thanks in advance for your help with this!!

  • Osb - bind error handler to proxy service

    Hi!
    I have got a proxy service which polls a POP3 server to download emails and process them.
    My question: How could I bind an error handler to proxy service for noticing when the POP3 server is not available?
    So I would like to put an alert when the OSB looses the connection to email server. I tried to put an error handler to top component on message flow but it doesn't work...
    Could anyone help me?
    Thanks!
    Viktor

    For poller transports (email/File/FTP etc) it is not possible to catch errors of transport layer, in your service error handler. Re: OSB - Error Handler in FTP Transport for TransportException
    Thanks
    Manoj
    Edited by: Manoj Neelapu on Jun 28, 2010 3:51 PM

  • GPO and Service SID?

     
    Hi, I'm a DBA installing SQL Server 2012.  SQL Server setup is creating service SIDs (e.g., NT SERVICE\MSSQLSERVER, NT SERVICE\MsDtsServer110, etc.) and granting them rights (e.g., SeServiceLogonRight,
    SeAssignPrimaryTokenPrivilege, etc.). 
    Our GPO is removing rights from the service SIDs created by SQL setup.  We have been unable to add a service SID to GPO.  I think there is an error that the account does not exist. 
    We can add just the name (e.g., MSSQLSERVER, MsDtsServer110, etc.), but this does not seem to work as rights on the service SID are still removed. 
    We did add NT SERVICE\ALL SERVICES (no error) and grant it SeServiceLogonRight.  I think this covers all service SIDs.  This appears to be working; however, I’m reluctant to grant
    some of the other rights to all services using service SIDs. 
    Are only “well known” service SID values valid in GPO?  Is there any way to add a service SID such as "NT SERVICE\MsDtsServer110" into GPO?  Is there a best practice for
    handling service SIDs and group policy? 
    Thanks.
    Randy in Marin

    It's a service SID and local by nature. 
    http://support.microsoft.com/kb/2620201
    http://msdn.microsoft.com/en-us/library/ms143504(v=sql.110).aspx 
    Below is from the "Virtual Accounts" item in the above link.
    Virtual accounts in Windows Server 2008 R2 and Windows 7 are
    managed local accounts that provide the following features to simplify service administration. The virtual account is auto-managed, and the virtual account can access the network in a domain environment. If the default value is
    used for the service accounts during SQL Server setup on Windows Server 2008 R2 or Windows 7, a virtual account using the instance name as the service name is used, in the format
    NT SERVICE\<SERVICENAME>. Services that run as virtual accounts access network resources by using the credentials of the computer account in the format
    <domain_name>\<computer_name>$. When specifying a virtual account to start SQL Server, leave the password blank. If the virtual account fails
    to register the Service Principal Name (SPN), register the SPN manually. For more information on registering a SPN manually, see
    Register a Service Principal Name for Kerberos Connections.
    Virtual accounts cannot be used for SQL Server Failover Cluster Instance, because the virtual account would not have the same SID on each node of the cluster.
    Randy in Marin

  • Error 503--Service Unavailable. Error while Test the webservice

    Hi...
    I created a webservice and deply it into a remote weblogic server. It deployed there and when I click on Test client, it shows this error.
    Error 503--Service Unavailable
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.5.4 503 Service Unavailable
    The server is currently unable to handle the request due to a temporary overloading or maintenance of the server. The implication is that this is a temporary condition which will be alleviated after some delay. If known, the length of the delay may be indicated in a Retry-After header. If no Retry-After is given, the client SHOULD handle the response as it would for a 500 response.
    Note: The existence of the 503 status code does not imply that a server must use it when becoming overloaded. Some servers may wish to simply refuse the connection.
    How we can rectify this.
    hope for a reply...
    Resmi.

    Check the WLS server log files for a more detailed error (stacktrace).
    Timo

  • Frustrated by Error 503--Service Unavailable Error

    I am currently being frustrated by a Error 503--Service Unavailable error. I have worked with WL 8.x for a couple of years but just set up my first WL 9.x server. I cannot find anything in the logs and am at a loss as to how to proceed. I am not sure if the problem is with my WAR file or with the server configuration. Any help would be GREATLY appreciated.

    I am having the exact same error. Any solutions yet???
    Error is:
    Error 503--Service Unavailable
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.5.4 503 Service Unavailable
    The server is currently unable to handle the request due to a temporary overloading or maintenance of the server. The implication is that this is a temporary condition which will be alleviated after some delay. If known, the length of the delay may be indicated in a Retry-After header. If no Retry-After is given, the client SHOULD handle the response as it would for a 500 response.
    Note: The existence of the 503 status code does not imply that a server must use it when becoming overloaded. Some servers may wish to simply refuse the connection.

  • Error in service call of Resource

    Hi,
    We are getting following error after logging to portal . the error message is
        Portal Runtime Error
    An exception occurred while processing your request
    Exception id: 06:51_10/11/09_9448_11617051
    See the details for the exception ID in the log file.
    And also please find the attached defaulttrace log.
    #1.5 #002481D1537E003D000001040000146A00047804045B3BBC#1257858555338#com.sap.portal.portal#sap.com/irj#com.sap.portal.portal#Guest#0####3f30e2a0cdfa11dec4e1002481d1537e#SAPEngine_Application_Thread[impl:3]_84##0#0#Error#1#/System/Server#Java###Exception ID:06:39_10/11/09_8424_11617050
    [EXCEPTION]
    #1#com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Resource
    Component : com.hrms.runtime.logon.default
    Component class : com.sapportals.portal.ume.component.logon.SAPMLogonComponent
    User : Guest
         at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:973)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:444)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:527)
         at com.sapportals.portal.prt.component.AbstractComponentResponse.include(AbstractComponentResponse.java:89)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:232)
         at com.sap.security.core.logonadmin.ComponentAccessToLogic.gotoPage(ComponentAccessToLogic.java:109)
         at com.sap.security.core.sapmimp.logon.SAPMLogonLogic.executeRequest(SAPMLogonLogic.java:258)
         at com.sapportals.portal.ume.component.logon.SAPMLogonComponent.doContent(SAPMLogonComponent.java:36)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
         at com.sapportals.portal.ume.component.logon.SAPMLogonCertComponent.doContent(SAPMLogonCertComponent.java:33)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
         at com.sap.portal.navigation.Gateway.service(Gateway.java:126)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sapportals.portal.prt.component.PortalComponentException: Original exception:
         at sapportalsjspumLogonPage.doContent(_sapportalsjsp_umLogonPage.java:83)
         at sapportalsjspumLogonPage.service(_sapportalsjsp_umLogonPage.java:57)
         at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:360)
         at com.sapportals.portal.prt.core.broker.PortalComponentItem.service(PortalComponentItem.java:934)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:435)
         ... 49 more
    Caused by: java.lang.NumberFormatException: null
         at java.lang.Integer.parseInt(Integer.java:436)
         at java.lang.Integer.parseInt(Integer.java:518)
         at sapportalsjspumLogonPage.subDoContent(_sapportalsjsp_umLogonPage.java:1176)
         at sapportalsjspumLogonPage.doContent(_sapportalsjsp_umLogonPage.java:77)
    Please suggest..
    Regards,
    Velu

    We are getting the same error (See below). Can anyone suggest what could be possible solution?
    Exception ID:05:33_15/11/10_0119_84931051
    [EXCEPTION]
    com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Resource
    Component : com.cvg.pct.hcm.pcr_voluntarytermination.default
    Component class : com.sap.pct.fin.util.isrprocessevent.IsrProcessEvent
    User : N000061957
                    at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:969)
                    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:444)
                    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:527)
                    at com.sapportals.portal.prt.component.AbstractComponentResponse.include(AbstractComponentResponse.java:89)
                    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:232)
                    at com.sapportals.portal.htmlb.page.JSPDynPage.doOutput(JSPDynPage.java:76)
                    at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:129)
                    at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
                    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
                    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
                    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
                    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
                    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
                    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
                    at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
                    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
                    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
                    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
                    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
                    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
                    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:545)
                    at java.security.AccessController.doPrivileged(Native Method)
                    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
                    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                    at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
                    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
                    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
                    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
                    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
                    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
                    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
                    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
                    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
                    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
                    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
                    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
                    at java.security.AccessController.doPrivileged(Native Method)
                    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
                    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sapportals.portal.prt.component.PortalComponentException: Error occurs during the compilation of java generated from the jsp
                    at com.sapportals.portal.prt.core.broker.JSPComponentItem.getComponentInstance(JSPComponentItem.java:109)
                    at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:355)
                    at com.sapportals.portal.prt.core.broker.PortalComponentItem.service(PortalComponentItem.java:934)
                    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:435)
                    ... 38 more
    Caused by: com.sapportals.portal.prt.servlets_jsp.server.compiler.CompilingException: Error occurs during the rendering of jsp component
                    at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:2189)
                    at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.compile(JSPCompiler.java:81)
                    at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.run(JSPCompiler.java:140)
                    at com.sapportals.portal.prt.core.broker.JSPComponentItem.compileJSP(JSPComponentItem.java:284)
                    at com.sapportals.portal.prt.core.broker.JSPComponentItem.getComponentInstance(JSPComponentItem.java:134)
                    ... 41 more

  • Error in /Service/Service.svc/bhb when open MDS Explorer

    Hi! I get stuck when opening the MDS Explorer on MDS Server and already tried all suggestions from forums but have no progress.
    I append my Environment, Log(IIS, MDS, Fiddler, UI) , and related config.
    Hope you could give me some advice. Thank you! 
    Environment
    OS : Windows Server 2008 R2SQL : Microsoft SQL Server 2012 - 11.0.2100.60 (X64)
             Developer Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1) (Hypervisor)
    IIS7
    Silverlight (64 bit) 5.1.20513
    Browser : IE9 , FF22, Chrome 28
    MDS Server is installed on VM, in Windows Domain 
    Login user has system administration permission.
    Application Pools Setting
    MDS Application
    (a) Managed Pipeline Mode = Integrated
    (b) Identity = ApplicationPoolIdentity, 
    UI Error Message
    When opening MDS Explorer,  the UI popup error messages like this.
    First error message window
    WebException: [HttpWebRequest_WebException_RemoteServer]
    Arguments: NotFound Debugging resource strings are unavailable
    Second error message window (only show up in Firefox)
    System.Reflection.TargetInvocationException: [Arg_TargetInvocationException]
    Fiddler Log
    seems I don't have permission to access the request URL : mdsdev:88/Service/Service.svc/bhb
    HTTP Error 401.2 - Unauthorized
    You are not authorized to view this page due to invalid authentication headers.
    Detailed Error Information
    Module IIS Web Core
    Notification AuthenticateRequest
    Handler svc-Integrated-4.0
    Error Code 0x80070005
    Requested URL http:  //   mdsdev:88/Service/Service.svc/bhb
    Physical Path C:\Program Files\Microsoft SQL Server\110\Master Data Services\WebApplication\Service\Service.svc\bhb
    Logon Method Not yet determined
    Logon User Not yet determined
    Failed Request Tracing Log Directory
    C:\inetpub\log
    IIS Log
    bhb again, not sure how to access it.
    /Explorer/AttributeSL.aspx MID=1&VID=1&EID=3
    /Service/Service.svc/bhb 
    2013-07-21 13:14:24 W3SVC2 fe80::208e:fa0c:31e5:901%10 GET /ScriptResource.axd d=jzBYvlgjGckxbHmd645HrUCsak8pPcTsujxzxXp5gfykwH0og-wOaIEfQRCkVtHUZaU9O-WZs75NSCtNmb4qyzx09zzgZlqq_Hxfv_GJZEA_V7wJtJkFpfiSaTBMqU17icKQwTLbTKf4fmtiRlbLYQ2&t=ffffffffb9f9f042 88 domain\nick fe80::208e:fa0c:31e5:901%10 HTTP/1.1 Mozilla/5.0+(Windows+NT+6.1;+WOW64;+rv:22.0)+Gecko/20100101+Firefox/22.0 mdsdev:88 200 0 0 1
    2013-07-21 13:14:26 W3SVC2 fe80::208e:fa0c:31e5:901%10 GET /Explorer/AttributeSL.aspx MID=1&VID=1&EID=3 88 domain\nick fe80::208e:fa0c:31e5:901%10 HTTP/1.1 Mozilla/5.0+(Windows+NT+6.1;+WOW64;+rv:22.0)+Gecko/20100101+Firefox/22.0 mdsdev:88 200 0 0 326
    2013-07-21 13:14:27 W3SVC2 fe80::208e:fa0c:31e5:901%10 POST /Service/Service.svc/bhb - 88 domain\nick fe80::208e:fa0c:31e5:901%10 HTTP/1.1 Mozilla/5.0+(Windows+NT+6.1;+WOW64;+rv:22.0)+Gecko/20100101+Firefox/22.0 mdsdev:88 500 0 0 157
    MDS Log
    Only first two rows mention error, cannot figure out what they mean.
    MDS Error: 0 : Service started successfully, Assembly version: 11.0.0.0, file version: 11.0.2100.60 ((SQL11_RTM).120210-1917 )
    DateTime=2013-07-21T13:26:55.2677163Z
    MDS Error: 0 : ApiContractVersion: 5102
    DateTime=2013-07-21T13:26:55.2686929Z
    MDS Start: 1 : Service.InitializeExpirationStatus
    My Settings
    Authentication
    (a) MDS Website : Enable Windows Authentication. Disable Anonymous Authentication.
    Under Windows Authentication > Advanced Settings > set Extended Protection = Accept or Required
    (b) Service Folder :  Enable Windows Authentication. Enable Anonymous Authentication.
    Web.config : 
    In MDS Web.config, add policyEnforcement = WhenSupported
    My Web.config
    <system.serviceModel>
        <behaviors>
          <serviceBehaviors>
            <behavior name="mdsWsHttpBehavior">
              <serviceMetadata httpGetEnabled="true" httpsGetEnabled="false" />
              <serviceDebug includeExceptionDetailInFaults="false" />
              <serviceThrottling maxConcurrentSessions="400" />
              <dataContractSerializer maxItemsInObjectGraph="999999999" />
            </behavior>
          </serviceBehaviors>
        </behaviors>
        <bindings>
          <wsHttpBinding>
            <binding name="mdsWsHttpBinding" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647">
              <readerQuotas maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxDepth="2147483647" maxNameTableCharCount="2147483647" maxStringContentLength="2147483647" />
              <security mode="Message">
                <message clientCredentialType="Windows" />
    <transport clientCredentialType="Windows">
     <extendedProtectionPolicy policyEnforcement="WhenSupported" />
    </transport>
              </security>
            </binding>
          </wsHttpBinding>
          <basicHttpBinding>
            <binding name="mdsBasicHttpBinding" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647">
              <readerQuotas maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxDepth="2147483647" maxNameTableCharCount="2147483647" maxStringContentLength="2147483647" />
              <security mode="TransportCredentialOnly">
                <transport clientCredentialType="Windows" />
    <extendedProtectionPolicy policyEnforcement="WhenSupported" />
              </security>
            </binding>
          </basicHttpBinding>
        </bindings>
        <services>
          <service behaviorConfiguration="mdsWsHttpBehavior" name="Microsoft.MasterDataServices.Services.Service">
            <endpoint binding="wsHttpBinding" bindingConfiguration="mdsWsHttpBinding" bindingNamespace="http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09" contract="Microsoft.MasterDataServices.Services.ServiceContracts.IService"
    />
            <endpoint address="bhb" binding="basicHttpBinding" bindingConfiguration="mdsBasicHttpBinding" bindingNamespace="http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09" contract="Microsoft.MasterDataServices.Services.ServiceContracts.IService"
    />
          </service>
        </services>
      </system.serviceModel>
    My applicationHost.config
     <location path="MDS">
            <system.webServer>
                <security>
                    <authentication>
    <basicAuthentication enabled="false" />
                        <windowsAuthentication enabled="true" useKernelMode="true">
                            <extendedProtection tokenChecking="Allow" />
                        </windowsAuthentication>
                        <anonymousAuthentication enabled="false" />
                    </authentication>
                </security>
            </system.webServer>
        </location>
        <location path="MDS/Service">
            <system.webServer>
                <security>
                    <authentication>
    <basicAuthentication enabled="false" />
                        <anonymousAuthentication enabled="true" />
    <!--anonymousAuthentication enabled="true" userName="" /-->
                        <windowsAuthentication enabled="true" />
                    </authentication>
                </security>
            </system.webServer>
        </location>
       

    Hi! Elvis,
    Thanks for your response , I try those settings but still not work. The current IIS setting is as below
    Authentication :
    (a) MDS Website : Enable Windows Authentication. Disable Anonymous Authentication.
    Under Windows Authentication > Advanced Settings > set Extended Protection = Accept or Required
    (b) Service Folder : Enable Windows Authentication. Enable Anonymous Authentication.
    I trace by Fiddler
    and Green arrows point out the bad request when I access Explorer.
    Detail error is  https://dl.dropboxusercontent.com/u/12915406/MDS/fiddler-log.html
    HTTP Error 401.2 - Unauthorized is still the same even apply the suggestions from the links you provided.
    I wonder what \Service.svc\bhb is , find bhb in Web.config and set some Authentication to None to test if I can bypass it.
    Now the Fiddler has different error.
    a:DestinationUnreachable
    The message with To 'http://mdsdev.tw.companynet.org:88/Service/Service.svc/bhb' cannot be processed at the receiver, due to an AddressFilter mismatch at the EndpointDispatcher. Check that the sender and receiver's EndpointAddresses agree.
    This link has similar problem but I have no idea where I can apply his workaround in my environment.
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/b5ae495b-f5fb-4eed-ae21-2b2280d4fec3/address-filter-mismatch-wcf-addressing
    Append my Web.confg and applicationHost.config snippet  for your reference.
    Thank you so much!
    Web.Config
    <system.serviceModel>
    <behaviors>
    <serviceBehaviors>
    <behavior name="mdsWsHttpBehavior">
    <serviceMetadata httpGetEnabled="true" httpsGetEnabled="false" />
    <serviceDebug includeExceptionDetailInFaults="false" />
    <serviceThrottling maxConcurrentSessions="400" />
    <dataContractSerializer maxItemsInObjectGraph="999999999" />
    </behavior>
    </serviceBehaviors>
    </behaviors>
    <bindings>
    <wsHttpBinding>
    <binding name="mdsWsHttpBinding" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647">
    <readerQuotas maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxDepth="2147483647" maxNameTableCharCount="2147483647" maxStringContentLength="2147483647" />
    <security mode="Message">
    <message clientCredentialType="Windows" />
    <transport clientCredentialType="Windows">
    <extendedProtectionPolicy policyEnforcement="WhenSupported" />
    </transport>
    </security>
    </binding>
    </wsHttpBinding>
    <basicHttpBinding>
    <binding name="mdsBasicHttpBinding" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647">
    <readerQuotas maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxDepth="2147483647" maxNameTableCharCount="2147483647" maxStringContentLength="2147483647" />
    <security mode="None">
    <transport clientCredentialType="None" />
    </security>
    </binding>
    </basicHttpBinding>
    </bindings>
    <services>
    <service behaviorConfiguration="mdsWsHttpBehavior" name="Microsoft.MasterDataServices.Services.Service">
    <endpoint binding="wsHttpBinding" bindingConfiguration="mdsWsHttpBinding" bindingNamespace="
    http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09" contract="Microsoft.MasterDataServices.Services.ServiceContracts.IService" />
    <!--Silverlight doesn't support wsHttpBinding -->
    <endpoint address="bhb" binding="basicHttpBinding" bindingConfiguration="mdsBasicHttpBinding" bindingNamespace="http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09" contract="Microsoft.MasterDataServices.Services.ServiceContracts.IService" />
    </service>
    </services>
    </system.serviceModel>
    applicationHost.config
    <location path="Default Web Site">
    <system.webServer>
    <security>
    <authentication>
    <basicAuthentication enabled="false" />
    <windowsAuthentication enabled="true" useKernelMode="true">
    <extendedProtection tokenChecking="Allow" />
    </windowsAuthentication>
    <anonymousAuthentication enabled="true" />
    </authentication>
    </security>
    </system.webServer>
    </location>
    <location path="MDS">
    <system.webServer>
    <security>
    <authentication>
    <basicAuthentication enabled="true" />
    <windowsAuthentication enabled="true" useKernelMode="true">
    <extendedProtection tokenChecking="Allow" />
    </windowsAuthentication>
    <anonymousAuthentication enabled="false" />
    </authentication>
    </security>
    </system.webServer>
    </location>
    <location path="MDS/Service">
    <system.webServer>
    <security>
    <authentication>
    <basicAuthentication enabled="true" />
    <anonymousAuthentication enabled="true" userName="" />
    <!--anonymousAuthentication enabled="true" userName="" /-->
    <windowsAuthentication enabled="true" />
    </authentication>
    </security>
    </system.webServer>
    </location>

  • FPN: Error in service call of Portal Component

    Hi,
    I'm working with a federated portal network and the producer portal is a BW system.
    My remote role assignment works fine, but not the remote delta links.
    I have create on my consumer portal a delta link to my role residing on my BW system.
    When I test this role,  I got a syntax error in my DetailedNavigationTree:
    [EXCEPTION]
    {0}#1#com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Portal Component
    Component : pcd:portal_content/Standardobjekte/Layout/ Default_Desktop/frameworkPages/Default_Page/com.sap.portal.innerpage/com.sap.portal.detailedNavigationTree
    Component class : com.sapportals.portal.navigation.DetailedNavigationTree
    User : ADMIN
         at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:973)
    Caused by: java.lang.NullPointerException
         at com.sapportals.portal.navigation.DetailedNavigationTree.doContent(DetailedNavigationTree.java:201)
    Can you tell me why I get this error with the remote delta link role?
    Thanks for your help.
    Regards,
    Mathieu

    Hi,
    thanks for your help. I will update my consumer portal to SP14 and then test again.
    There is in the SAP help this interesting topic: [Version Interoperability|http://help.sap.com/saphelp_nw70/helpdata/de/43/23fabdcad10d23e10000000a1553f7/frameset.htm]
    Consumer-side functionality determines the support level. If content on the producer uses portal client-side functionality (for example, OBN or other navigation related functionality) that is not available or supported by the consumer portal, then the content is not supported in an FPN implementation.
    Regards,
    Mathieu

  • PeopleFinderComponent  Error in service call of Portal Component

    Hi:
    I created the PeopleFinderComponent iview from scratch, when I preview the iview this error is display:
    com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Portal Component
    Component : the iview I´m testing
    Component class : com.sap.ip.collaboration.coreui.impl.people.peoplefinder.PeopleFinderComponent
    User : my user
    at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:973)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:343)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
    at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:523)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:412)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Caused by: com.sapportals.wdf.WdfError
    at com.sapportals.wdf.WdfCompositeController.buildComposition(WdfCompositeController.java:688)
    at com.sapportals.htmlb.AbstractCompositeComponent.preRender(AbstractCompositeComponent.java:33)
    at com.sapportals.htmlb.Container.preRender(Container.java:120)
    at com.sapportals.htmlb.Container.preRender(Container.java:120)
    at com.sapportals.htmlb.Container.preRender(Container.java:120)
    at com.sapportals.portal.htmlb.PrtContext.render(PrtContext.java:406)
    at com.sapportals.htmlb.page.DynPage.doOutput(DynPage.java:238)
    at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:133)
    at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.doPreview(AbstractPortalComponent.java:240)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:168)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    ... 29 more
    I´m working just with EP 7.01 (EHP1) (there´s not any ABAP System in the Portal Landscape).
    I searched for PeopleFinder.xml in the server file system* (it´s the value of com_sapportals_wdf_ConfigFileName property) and nothing was found, so I think that´s the problem but I couldn´t find so much about it.
    Thanks a lot for your time on this thread.
    Rocío.

    Hi Rocio,
    Is this just a regular AbstractPortalComponent iView you have written? What are you trying to do in the code? I don't see any non-sap classes in the error stack only com.sap.*
    Is the PeopleFinder.xml file a file that you have included in the PAR?
    BRgds,
    Simon

  • ORA-29278: SMTP transient error:421 Service not available on oracle 10g

    HIi,
    I am trying to send e-mails by using PL/Sql procedure . I am using UTL_MAIL/UTL_SMTP on oracle 10g R1 database.
    There is no problem in creating procedure,but when i am doing execution i am getting the mention error.
    I am trying to send mail with attachment as excel file.
    ORA-20001: The following error has occured: ORA-29278: SMTP transient error:
    421 Service not available
    ORA-06512: at "SCOTT.MAIL_ATT_RAW", line 64
    ORA-06512: at line 1
    -----my procedure code------
    CREATE OR REPLACE PROCEDURE mail_att_raw(filename varchar2) AS
    fil BFILE;
    file_len PLS_INTEGER;
    MAX_LINE_WIDTH PLS_INTEGER := 54;
    buf RAW(2100);
    amt BINARY_INTEGER := 2000;
    pos PLS_INTEGER := 1; /* pointer for each piece */
    filepos PLS_INTEGER := 1; /* pointer for the file */
    filenm VARCHAR2(50) := filename; /* binary file attachment */
    data RAW(2100);
    chunks PLS_INTEGER;
    len PLS_INTEGER;
    modulo PLS_INTEGER;
    pieces PLS_INTEGER;
    err_num NUMBER;
    err_msg VARCHAR2(100);
    resultraw RAW(32000);
    BEGIN
    /* Assign the file a handle */
    fil := BFILENAME('BFILE_DIR', filenm);
    /* Get the length of the file in bytes */
    file_len := dbms_lob.getlength(fil);
    /* Get the remainer when we divide by amt */
    modulo := mod(file_len, amt);
    /* How many pieces? */
    pieces := trunc(file_len / amt);if (modulo <> 0) then
    pieces := pieces + 1;end if;/* Open the file */
    dbms_lob.fileopen(fil, dbms_lob.file_readonly);/* Read the first amt into the buffer */
    dbms_lob.read(fil, amt, filepos, buf);/* For each piece of the file . . . */
    FOR i IN 1..pieces LOOP/* Position file pointer for next read */
    filepos := i * amt + 1;/* Calculate remaining file length */
    file_len := file_len - amt;/* Stick the buffer contents into data */
    data := utl_raw.concat(data, buf);/* Calculate the number of chunks in this piece */
    chunks := trunc(utl_raw.length(data) / MAX_LINE_WIDTH);/* Don't want too many chunks */
    IF (i <> pieces) THEN
    chunks := chunks - 1;
    END IF;/* For each chunk in this piece . . . */
    FOR j IN 0..chunks LOOP/* Position ourselves in this piece */
    pos := j * MAX_LINE_WIDTH + 1;/* Is this the last chunk in this piece? */
    IF (j <> chunks) THEN len := MAX_LINE_WIDTH;
    ELSE
    len := utl_raw.length(data) - pos + 1;
    IF (len > MAX_LINE_width) THEN
    len := MAX_LINE_WIDTH;
    END IF;
    END IF;/* If we got something, let's write it */
    IF (len > 0 ) THEN
    resultraw := resultraw || utl_raw.substr(data, pos, len);
    END IF;
    END LOOP;/* Point at the rest of the data buffer */
    IF (pos + len <= utl_raw.length(data)) THEN
    data := utl_raw.substr(data, pos + len);
    ELSE
    data := NULL;
    END IF;/* We're running out of file, only get the rest of it */
    if (file_len < amt and file_len > 0) then
    amt := file_len;
    end if;/* Read the next amount into the buffer */dbms_lob.read(fil, amt, filepos, buf);
    END LOOP;/* Don't forget to close the file */
    dbms_lob.fileclose(fil);
    SYS.UTL_MAIL.SEND_ATTACH_RAW(sender => '[email protected]', recipients => '[email protected]',subject => 'Testmail', message => 'Hallo', attachment => resultraw, att_filename => filename);
    EXCEPTION
    WHEN OTHERS THEN--dbms_output.put_line('Fehler');
    raise_application_error(-20001,'The following error has occured: ' || sqlerrm);
    END;
    Please suggest me what settings i need to change. This same procedure is running on another maching,but not on my machine.
    If somebody is having any other simple procedure ,please help me.
    My SMTP port -25
    Thanks in advance.

    Hi Justin,
    Please get the answers of your queries
    The error you're getting is coming from the SMTP server you are trying to connect to.
    - What SMTP server is your database configured to use?
    Reply - I am using IIS(5.0)
    - What SMTP server is the database where this code is working configured to use?
    Reply - Same IIS. Database is installed locally on my machine only. I am trying to send mail locally to me only,Not to the outside person.
    - Has the SMTP server been configured to allow connections from both machines?
    Reply - Yes
    One more query, do we really require to set the SMTP_OUT_SERVER parameter for SCOPE=BOTH
    ALTER SYSTEM SET smtp_out_server = '172.16.1.10' SCOPE=BOTH
    I am not able to set like this for BOTH,only for SPFILE i can set ?.
    My SMTP Server IP=172.16.1.10
    PORT- 25
    Thanks
    Manoj

  • Error publishing service in Service Registry

    Hi experts.
    I've configured Service Registry in a SAP PI 7.11. Everything seems to work correctly but I can't publish services there. When I try to publish from Directory or directly in Service Registry by wsdl I'm getting this error:
    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:440)
         at com.sap.aii.ibdir.server.wsquery.WSQUDDIPSPublishTB.execute(WSQUDDIPSPublishTB.java:91)
         at com.sap.aii.ibdir.core.simulation.DefaultTaskBroker.execute(DefaultTaskBroker.java:171)
         at com.sap.aii.ibdir.server.simulation.TaskQueryService.specialQuery(TaskQueryService.java:33)
         at com.sap.aii.ib.server.query.SpecialQueryServiceProvider$SpecialQueryServiceImpl.specialQuery(SpecialQueryServiceProvider.java:63)
         at com.sap.aii.ib.server.query.QueryServiceImpl.specialQuery(QueryServiceImpl.java:443)
         at com.sap.aii.ib.server.query.QueryServiceBean.specialQuery(QueryServiceBean.java:112)
         at sun.reflect.GeneratedMethodAccessor762.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:592)
         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 $Proxy1646.specialQuery(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor761.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:592)
         at com.sap.engine.services.rmi_p4.P4DynamicSkeleton.dispatch(P4DynamicSkeleton.java:234)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:362)
         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:977)
         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:122)
         at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
         at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:327)
    I think is a authorization problem but I have role to read and write in service registry. I can see this error in Service Registry Trace
    Invalid Response code (401). Server [http://xxxxxx:50000/uddi/api/publish/] returned message [Unauthorized].
    Any idea? Maybe the user you have to fill in Service Registry Configuration Wizard?
    Regards
    Edited by: Christian  Abad Chico on Feb 20, 2012 1:00 PM

    Hi,
    It looks like you are missing some Services Registry preconfiguration. Please find a description how to configure the Services Registry under the SAP Help document below:
    http://help.sap.com/saphelp_nwce711/helpdata/en/47/d391d7b8fc3c83e10000000a42189c/frameset.htm
    There is also a wizard that you can use for this purpose:
    http://help.sap.com/saphelp_nwce711/helpdata/en/f7/6182bd68434595ba5105a0a346efcc/frameset.htm
    Hope this helps,
    Greg

Maybe you are looking for

  • Add a new line to get Iphone 4s instead of ETF?

    Could I add a line to our family share plan to get the Iphone 4S, and after activation on the same day switch the Iphone to my current phone line # on the same plan, and then add an old non data phone to the new line added to buy the iphone? That way

  • XPath Expression

    Hey Guys... Currently I am working on one Xpath expression issue..as described below; Its a File to Idoc scenario  ...where in I need to check the two Item level nodes and based on that need to produce the target Idoc. and my souce structure look lik

  • Challenging--- How to use AudioFormat , AudioInputStream in my case

    I did a application extracting data in byte format from .wav file, storing them in byte array, and I also have to use those data to do signal processing ,such FFT, convolution,... and so on, In order to do so, i guess I have to convert byte data to d

  • Dashboard widgets on Thunderbolt?

    Is there a way to display Dashboard widgets on Thunderbolt Desktop? I did find a solution to permanently move Dashboard widgets to Desktop, but this means that when I use my MacBookPro in stand-alone mode, the widgets take up too much space and I hav

  • Is there a fix for security warning:

    Is there a fix for security warning: the document is trying to connect to file:/index.cfm?event=Vendorsonly.submiteventform---trust choose allow--no trust choose block. I need a fix for this.