SOAP Request "getAuthorities" failed with error : DtsQueryDaoBean is not allowed
Last Post 29 Jun 2014 11:03 PM by frank.ning. 1 Replies.
Author Messages
frank.ningUser is Offline
New Member
New Member
Posts:28


--
29 Jun 2014 10:19 PM
    Hello,

    I tried both SoapUI Pro and curl on Windows X64 for a simple SOAP Request below (DTS 4.0.1 with SQL Server 2008 R2 on Windows and the JBOSS 7.1.1 final):

    (In the file getAuthorities.xml):
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.dao.dtsserver.apelon.com/">
    <soapenv:Header/>
    <soapenv:Body>
    <ws:getAuthorities/>
    </soapenv:Body>
    </soapenv:Envelope>

    The request failed as shown below (response):

    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
    <soap:Fault>
    <faultcode>soap:Server</faultcode>
    <faultstring>JBAS014502: Invocation on method: public java.util.List
    com.apelon.dtsserver.ejb.DtsQueryDaoBean.getAuthorities() of bean: DtsQueryDaoBean is not allowed</faultstring>
    </soap:Fault>
    </soap:Body>
    </soap:Envelope>

    The command I used for curl:

    D:\temp>curl --header "content-type: text/soap+xml; charset=utf-8" --data @getAuthorities.xml http://localhost:8080/dtsserverejb/DtsQueryDaoService/DtsQueryDaoWS -u <dts-admin-user>:<password>

    BTW, I can use the same user to access http://apelon.demo.com:8080/dtsserverws/ without issue.

    How could I save the above JBAS014502 error?

    Thanks and regards

    Frank


    frank.ningUser is Offline
    New Member
    New Member
    Posts:28


    --
    29 Jun 2014 11:03 PM
    Hello,

    After following the quickstart guide, I solved the issue.

    Sorry to bother you.

    Regards

    Frank


    ---