Search
Back 

Forums

Welcome to the Forums for DTS 4. The following shortcuts are available for new posts and replies.

[br] = line break/new paragraph    [b] [/b] = bold font   
[i] [/i] = italicized font [u] [/u] = underlined font 
[sub] [/sub] = subscript text 
 [strike] [/strike] = strikethrough
[sub] [/sup] = superscript text    

DTS Forums

SOAP Request "getAuthorities" failed with error : DtsQueryDaoBean is not allowed
Last Post 29 Jun 2014 11:03 PM by frank.ning. 1 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
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
    You are not authorized to post a reply.


    Apelon

    We are a privately held international software and informatics company focusing on data standardization and interoperability. Apelon’s software and professional services help leading healthcare enterprises, HIT vendors and integrators, life sciences organizations and government agencies better manage standard terminologies and transition local data to these standards. Our solutions enable semantic interoperability, consistent data analysis, and standardized reporting of health information to improve the quality, comparability, and accessibility of clinical data.

    Latest Tweets

    Copyright 2019 by Apelon, Inc.