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

WSDL?
Last Post 04 Aug 2014 08:18 PM by frank.ning. 22 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Page 1 of 212 > >>
Author Messages
frank.ningUser is Offline
New Member
New Member
Posts:28


--
21 Jan 2014 09:16 PM
    In the installation guide, I saw "web services" like "DTS Query Web Service Interface". Is there any way to get the wsdl file with some url like http://<something>?wsdl?

    Any document about how the web services are defined and can be invoked (endpoints etc)?

    Thanks and regards

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


    --
    29 Jan 2014 05:03 AM
    Hello,

    Any response?
    Dr. DiTSUser is Offline
    Basic Member
    Basic Member
    Posts:110


    --
    29 Jan 2014 09:07 AM
    We have discovered that the required web services set-up files (for the WSDL, etc.) were left out of the initial V4 release. We are working on a new Web Services document that will provide the necessary information. We will post this as soon as it is available. Functionally, the Web Service methods mirror the Java API.
    frank.ningUser is Offline
    New Member
    New Member
    Posts:28


    --
    03 Feb 2014 10:28 AM
    Thanks.

    In DTS V3.5, how could we get WSDL files?
    Dr. DiTSUser is Offline
    Basic Member
    Basic Member
    Posts:110


    --
    03 Feb 2014 10:40 AM
    Web Services are not supported in DTS 3.5.x.
    Dr. DiTSUser is Offline
    Basic Member
    Basic Member
    Posts:110


    --
    06 Feb 2014 10:46 AM
    The DTS V4.0 WSDL can be accessed from:

    http://localhost:8080/dtsserverejb/...DaoWS?wsdl

    Also, we have just posted a web services "quick start" guide on the documentation page. Please take a look and get back to us with any suggestions!

    Thanks.
    Alba GarciaUser is Offline
    New Member
    New Member
    Posts:47


    --
    12 Mar 2014 06:14 AM
    I have tried to generate the Java client from the WSLD:

    C:\Proyectos\ApelonWSClient>wsimport -keep -Xnocompile http://localhost:8080/dts" target="_blank" rel="nofollow">http://localhost:8080/dts
    serverejb/DtsQueryDaoService/DtsQueryDaoWS?wsdl
    parsing WSDL...
    
    
    [ERROR] Server returned HTTP response code: 400 for URL: http://localhost:8080/d
    tsserverejb/DtsQueryDaoService/DtsQueryDaoWS?wsdl
    
    Failed to read the WSDL document: http://localhost:8080/dts" target="_blank" rel="nofollow">http://localhost:8080/dtsserverejb/DtsQueryDao
    Service/DtsQueryDaoWS?wsdl, because 1) could not find the document; /2) the docu
    ment could not be read; 3) the root element of the document is not <wsdl:definit
    ions>.
    
    
    [ERROR] failed.noservice=Could not find wsdl:service in the provided WSDL(s):
    
     At least one WSDL with at least one service definition needs to be provided.
    
    
            Failed to parse the WSDL. 


    So I've tried second option with wget + wsimport and it didn't work too:

    C:\Proyectos\ApelonWSClient>wget.exe http://localhost:8080/dts" target="_blank" rel="nofollow">http://localhost:8080/dtsserverejb/DtsQuery
    DaoService/DtsQueryDaoWS?wsdl -O dts.wsdl
    --2014-03-12 11:27:11--  http://localhost:8080/dts" target="_blank" rel="nofollow">http://localhost:8080/dtsserverejb/DtsQueryDaoService/D
    tsQueryDaoWS?wsdl
    Resolving localhost... ::1, 127.0.0.1
    Connecting to localhost|::1|:8080... failed: Bad file descriptor.
    Connecting to localhost|127.0.0.1|:8080... connected.
    HTTP request sent, awaiting response...
    


    Then I tried to save the source document as a wsdl file, then run wsimport on that file and it didn't work too:
    C:\Proyectos\ApelonWSClient>wsimport -keep -Xnocompile DtsQueryDaoWS.wsdl
    parsing WSDL...
    
    
    [ERROR]         Unable to parse "http://localhost:8080/dts" target="_blank" rel="nofollow">http://localhost:8080/dtsserverejb/DtsQueryDaoS
    ervice/DtsQueryDaoWS?wsdl=DtsQueryDaoWS.wsdl" : Server returned HTTP response co
    de: 400 for URL: http://localhost:8080/dts" target="_blank" rel="nofollow">http://localhost:8080/dtsserverejb/DtsQueryDaoService/DtsQueryD
    aoWS?wsdl=DtsQueryDaoWS.wsdl
      line 2 of file:/C:/Proyectos/ApelonWSClient/DtsQueryDaoWS.wsdl
    
    [ERROR]         Unable to parse "http://localhost:8080/dts" target="_blank" rel="nofollow">http://localhost:8080/dtsserverejb/DtsQueryDaoS
    ervice/DtsQueryDaoWS?wsdl=DtsQueryDaoWS.wsdl" : Server returned HTTP response co
    de: 400 for URL: http://localhost:8080/dts" target="_blank" rel="nofollow">http://localhost:8080/dtsserverejb/DtsQueryDaoService/DtsQueryD
    aoWS?wsdl=DtsQueryDaoWS.wsdl
    
    Failed to read the WSDL document: file:/C:/Proyectos/ApelonWSClient/DtsQueryDaoW
    S.wsdl, because 1) could not find the document; /2) the document could not be re
    ad; 3) the root element of the document is not <wsdl:definitions>.
    
    
    [ERROR] failed.noservice=Could not find wsdl:service in the provided WSDL(s):
    
    file:/C:/Proyectos/ApelonWSClient/DtsQueryDaoWS.wsdl
     At least one WSDL with at least one service definition needs to be provided.
    
    
            Failed to parse the WSDL.
    
     


    I need a piece of advice.

    BR.
    TUser is Offline
    New Member
    New Member
    Posts:3


    --
    13 Mar 2014 08:06 PM
    Is there something that needs to be started in the server to enable the Web Services?

    The DTS V4.0 WSDL can be accessed from: http://localhost:8080/dtsserverejb/...DaoWS?wsdl


    Note: That is a different URL than what is listed in the QuickStart document: http://localhost:8080/soap/DtsQueryDaoWS?wsdl

    For me, neither of these URLs work (for both GETs and POSTs).

    I see security bindings for the /soap/* and /rest/* urls in web.xml (unpacked from dtsserverws.war) but I don't see any servlets handing the requests. I only see a /dtsserverws/ context root.
    Alba GarciaUser is Offline
    New Member
    New Member
    Posts:47


    --
    27 Mar 2014 03:07 AM
    Did you manage to get the Web Service to work?

    Should be required any special configuration on the JBoss Server or in the dtsjboss.ear?

    BR.
    Jorge AvendañoUser is Offline
    New Member
    New Member
    Posts:5


    --
    27 Mar 2014 04:33 AM
    Hi Alba,

    In may case the endpoint for the WSDL file is http://10.232.2.40:8080/soap/DtsQueryDaoWS?wsdl and
    all work fine.

    Anyway, I recommend you to look at the document "dts4_WebServicesQuickStart.pdf" because I found it helpful.

    Regards,
    Alba GarciaUser is Offline
    New Member
    New Member
    Posts:47


    --
    27 Mar 2014 04:44 AM
    Hi Jorge,
    In my case the endpoint for the WSDL is


    Did you achieve to create the WS Client following the "dts4_WebServicesQuickStart.pdf" document?


    Thanks
    Alba GarciaUser is Offline
    New Member
    New Member
    Posts:47


    --
    27 Mar 2014 11:33 AM
    Following the recomendations on the Web Services Quick Start document I'm trying to generate the WSS Cliente through wsimport:

    But the wsimport program is stucked in this line:



     
    C:\TEMP>wsimport -keep -Xnocompile http://localhost:8080/soap/DtsQueryDaoWS?wsdl
    
    parsing WSDL...
    




    Has anybody faced this issue?

    Thanks in advance.
    Dr. DiTSUser is Offline
    Basic Member
    Basic Member
    Posts:110


    --
    27 Mar 2014 11:49 AM
    This is a known problem with JBoss. We are working on a solution and will post as soon as possible.
    Alba GarciaUser is Offline
    New Member
    New Member
    Posts:47


    --
    28 Mar 2014 04:46 AM
    OK. I'm looking forward to it!!
    Alba GarciaUser is Offline
    New Member
    New Member
    Posts:47


    --
    28 Mar 2014 05:25 AM
    By the way,
    I was doing some inttents to create the WS Client through "wsimport" and "Eclipse Kepler" and I couldn't.

    But now I'm doing some test with oXygen XML Editor and when I try to send this request to my service:

    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
        xmlns:ns0="http://ws.dao.dtsserver.apelon.com/">
        <SOAP-ENV:Header/>
        <SOAP-ENV:Body>
            <ns0:getRoleTypes>
                <namespaceId>32779</namespaceId>
            </ns0:getRoleTypes>
        </SOAP-ENV:Body>
    </SOAP-ENV:Envelope> 
    


    Authorization is required. ¿What User/Passworw do I have to use?

    Thanks!
    Alba GarciaUser is Offline
    New Member
    New Member
    Posts:47


    --
    28 Mar 2014 06:37 AM
    I have used dtsadminuser/dtsadminuser_password and it has worked!! It's strange that the WSDL seams valid for the Oxygen XML Editor but not for the web browsers neither Eclipse Web Service Client creator tools.
    Dr. DiTSUser is Offline
    Basic Member
    Basic Member
    Posts:110


    --
    28 Mar 2014 08:42 AM
    This is great information! We hadn't tried Oxygen. Hopefully this will lead to better understanding and a more complete solution.

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


    --
    26 Jun 2014 01:21 PM
    The URL documented in the web service quick start guide does not work. The following one works. Should this be a document fix or code fix?

    http://localhost:8080/dtsserverejb/...DaoWS?wsdl --> OK
    http://localhost:8080/soap/DtsQueryDaoWS?wsdl --> 404 Error
    Dr. DiTSUser is Offline
    Basic Member
    Basic Member
    Posts:110


    --
    27 Jun 2014 08:28 AM
    DTS 4.0 had a problem with wsdl access on some app servers. See the Web Services Quick Start Guide for interim remediation information.

    Starting with DTS 4.1 (available in early July) the documented location, http://localhost:8080/soap/DtsQueryDaoWS?wsdl, will be correct for all app servers.
    frank.ningUser is Offline
    New Member
    New Member
    Posts:28


    --
    04 Aug 2014 10:17 AM
    Hello,

    I installed DTS 4.1 on WebSphere App Server 8.5.5.2. None of the following URL works to get WSDL.

    http://localhost:9080/dtsserverejb/...DaoWS?wsdl
    http://localhost:9080/soap/DtsQueryDaoWS?wsdl

    I have no problem to open DTS browser with the following URL

    http://localhost:9080/dtsserverws/

    Please help to provide us the working URL for the WSDL since we need it to create the java client.

    Thanks and regards
    Frank
    You are not authorized to post a reply.
    Page 1 of 212 > >>


    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.