webMethods

 View Only
  • 1.  Running Anounymous WS

    Posted Wed November 17, 2010 04:23 PM

    Hello,

    I’m trying to run a service anonymously, w/o providing granting.

    What I did is :

    • Called service : Execute ACL = Anonymous (inherited), others DEFAULT
    • WSD : Execute ACL = Anonymous (inherited), others DEFAULT
    • Parent directory : Execute ACL = Anonymous (inherited), others DEFAULT
    • Top directory : Execute ACL = Anonymous, others DEFAULT

    Unfortunately, when I’m trying to call my WS from a PHP code, I got :

    Warning: SoapClient::SoapClient(http://b2bdev.sgp.st.com:5555/ws/STPrivateLF.TestWS:HelloWSD?WSDL): failed to open stream: HTTP request failed! HTTP/1.0 401 Invalid Session ID or Session Expired

    If I try this URL on my browser, I’m requested for my credential :confused:

    Where I’m wrong, what I missed ?

    Thanks

    Laurent


    #webMethods
    #webMethods-Archive
    #Release-7-1-Feedback-WMUsers


  • 2.  RE: Running Anounymous WS

    Posted Tue November 23, 2010 09:29 PM

    Laurent, What happens when you try run a test from SoapUI or Quasar for your webservice? Do you still get an error?

    Note:
    Just leave the WSD as Anonymous and leave the rest of the layers as is.

    Cheers,
    Akshith


    #webMethods
    #webMethods-Archive
    #Release-7-1-Feedback-WMUsers


  • 3.  RE: Running Anounymous WS

    Posted Tue November 23, 2010 09:59 PM

    You may need to set the READ ACL to anonymous as well, but I’m not sure.


    #webMethods
    #webMethods-Archive
    #Release-7-1-Feedback-WMUsers


  • 4.  RE: Running Anounymous WS

    Posted Sat November 27, 2010 06:23 PM

    By default IS sets Read ACL as “Anonymous” and this is the (inherited) acl for WSD.

    Setting executable ACL in WSD is enough for accessing the services those are contained by WSD.

    -regards
    DC


    #webMethods-Archive
    #webMethods
    #Release-7-1-Feedback-WMUsers