IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Authority error wm.tn.doc:view

  • 1.  Authority error wm.tn.doc:view

    Posted Tue February 19, 2008 04:19 PM

    I am seeing the following error at server. If someone has idea or know the cause/ resolution, please reply.

    wm.tn.doc:view com.wm.app.b2b.server.ServiceException You do not have the authority to retrieve this document. Only administrators may access documents that they did not send or receive. com.wm.app.b2b.server.ServiceException: You do not have the authority to retrieve this document. Only administrators may access documents that they did not send or receive. at wm.tn.docimpl.view(docimpl.java:115) at sun.reflect.GeneratedMethodAccessor162.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:322) at com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java:612) at com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsProcessor.java:44) at com.wm.app.b2b.server.invoke.Service


    #Integration-Server-and-ESB
    #webMethods
    #B2B-Integration


  • 2.  RE: Authority error wm.tn.doc:view

    Posted Tue February 19, 2008 04:30 PM

    Do your userid have enough privileges to access all the TN objects??You may to contact your wM admin in this case…

    Also what doctype you are trying to retrieve??

    HTH,
    RMG


    #Integration-Server-and-ESB
    #webMethods
    #B2B-Integration


  • 3.  RE: Authority error wm.tn.doc:view

    Posted Tue February 19, 2008 08:10 PM

    We do have required privileges and the doc type is application biz doc.


    #webMethods
    #B2B-Integration
    #Integration-Server-and-ESB


  • 4.  RE: Authority error wm.tn.doc:view

    Posted Tue February 19, 2008 08:55 PM

    According to the error:

    “wm.tn.doc:view com.wm.app.b2b.server.ServiceException You do not have the authority to retrieve this document. Only administrators may access documents that they did not send or receive.”

    The user account used to try to retrieve the document does no have the correct privileges. The user ID must either be the sender or receiver, or a member of the TNAdministrators group.

    “application biz doc”–is that really the name of the TN doc type that is defined within TN?


    #B2B-Integration
    #webMethods
    #Integration-Server-and-ESB


  • 5.  RE: Authority error wm.tn.doc:view

    Posted Wed February 20, 2008 03:28 PM

    The document is bizdoc (wm.tn.rec:BizDocEnvelope)


    #webMethods
    #B2B-Integration
    #Integration-Server-and-ESB


  • 6.  RE: Authority error wm.tn.doc:view

    Posted Wed February 20, 2008 03:49 PM

    We got this part…but pls make sure your userid has full TNAdministrator permissions to query/view the doc.

    HTH,
    RMG


    #Integration-Server-and-ESB
    #B2B-Integration
    #webMethods


  • 7.  RE: Authority error wm.tn.doc:view

    Posted Wed February 20, 2008 04:32 PM

    This isn’t important for resolving the privileges issue, but I thought it may be good to clarify what a bizdoc is.

    ALL documents stored in TN are wm.tn.rec:BizDocEnvelope (bizdoc). This is the envelope structure that TN uses to store documents within the TN database. Within TN Console, you can create what is known as a “Document Type” and give it a name. This document type definition describes how an instance of such a document type is to be identified (document recognition) and how to extract data elements from the document (such as sender, receiver, document ID, etc.).

    When rmg asked for the document type, it is the name of the TN document type that you or someone in your group defined that we were looking for, not the underlying envelope structure.


    #Integration-Server-and-ESB
    #B2B-Integration
    #webMethods


  • 8.  RE: Authority error wm.tn.doc:view

    Posted Thu February 21, 2008 12:30 AM

    Ketanshah,
    Use this to fix your issue.
    webMethods EDIINT Module 6.5.2 Fix 4
    [WmEDIINT_6-5-2_Fix4]

    This is a known issue.
    The fix would replace view method in the class with ViewAs which does not require credential validation.
    Hope this works for ya !

    Scooby !


    #B2B-Integration
    #webMethods
    #Integration-Server-and-ESB


  • 9.  RE: Authority error wm.tn.doc:view

    Posted Mon April 28, 2008 07:40 PM

    I’m seeing this error in 7.1.1 as well (it’s working in our existing 6.01 environment). When a partner makes a request from outside, they are connecting with no username/password - the ACL for the entry service is set to anonymous. Down deep in our flow, we pull a document from TN using the view service.
    Do I need to get a fix for this from SoftwareAG as well?


    #Integration-Server-and-ESB
    #webMethods
    #B2B-Integration


  • 10.  RE: Authority error wm.tn.doc:view

    Posted Mon April 28, 2008 08:04 PM

    Will, honestly, I’m not sure about 7.1.1,
    I would look around for a fix for this issue, or call them up and see what they say.
    I hope you find something on this ,
    please do let us know when you find something.
    Thanks
    Scooby !


    #Integration-Server-and-ESB
    #webMethods
    #B2B-Integration