1 2 Previous Next 15 Replies Latest reply on Aug 2, 2012 6:26 PM by mananpat Go to original post
      • 15. Re: Incorrect syntax near '.'
        mananpat

        Ted,

         

        I have attached 2 files to this post:

         

        RatesWebServiceVDBDS-ds.xml

        RatesWebService.zip.

        I think there is definately a bug or trick with a WSDL operation without any parameters (i.e. getALLXXXX like operation)- It just does not work. I keep getting - "Remote org.teiid.api.exception.query.QueryParserException: Parsing error: Encountered "(" at line 1, column 6." error message.  When I have another WSDL operation which takes paramer then all seem to work fine.

         

        1. WSDL operation without any parameter .

        <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">

           <soapenv:Header/>

           <soapenv:Body/>

        </soapenv:Envelope>

         

        Response from service:

         

        <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

           <soap:Body>

              <soap:Fault>

                 <faultcode>soap:Client</faultcode>

                 <faultstring>Remote org.teiid.api.exception.query.QueryParserException: Parsing error: Encountered "(" at line 1, column 6.

        Was expecting:

            &lt;ID> ...</faultstring>

              </soap:Fault>

           </soap:Body>

        </soap:Envelope>

         

         

        2. WSDL operation with some parameter:

        <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rat="http://www.teiid.org/Rates_Output">

           <soapenv:Header/>

           <soapenv:Body>

              <rat:FiIInput>32436344</rat:FiIInput>

           </soapenv:Body>

        </soapenv:Envelope>

         

        Response is good:

        <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

           <soap:Body>

              <BlendAvgRate_Output:BlendAvgRate_Output xmlns:BlendAvgRate_Output="http://www.metamatrix.com/BlendAvgRate_Output" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

                 <BlendAvgRate_Output_Instance>

                    <FiI>32436344</FiI>

                    <BlendAvgBrw>0.2</BlendAvgBrw>

                 </BlendAvgRate_Output_Instance>

              </BlendAvgRate_Output:BlendAvgRate_Output>

           </soap:Body>

        </soap:Envelope>

         

        Can you please advise at your earliest convenience?

        1 2 Previous Next