2 Replies Latest reply on Sep 6, 2013 11:35 PM by sanjaybhardwaj01

    ParserException when invoking web service from generated WAR

    sanjaybhardwaj01

      I'm getting following errors when trying to invoke web service through external client.

       

      -------------------

      null, text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8, [], /WSVDBnull, /WSVDB/WsView_super_heroes_view]

      18:47:17,099 WARN  [PROCESSOR] Processing exception 'Parsing error: Encountered "null" at line 1, column 6.

      Was expecting:

          <ID> ...

          ' for request EAScZoc89rnZ.0.  Exception type org.teiid.api.exception.query.QueryParserException thrown from org.teiid.query.parser.Quer

      yParser.convertParserException(QueryParser.java:194). Enable more detailed logging to see the entire stacktrace.

      18:47:17,907 SEVERE [soap] Exception in executeDataservice: {0}

      java.lang.Throwable: org.teiid.jdbc.TeiidSQLException: Remote org.teiid.api.exception.query.QueryParserException: Parsing error: Encountered

      "null" at line 1, column 6.

      Was expecting:

          <ID> ...

              at org.teiid.soap.provider.TeiidWSProvider.execute(TeiidWSProvider.java:194)

              at org.teiid.soap.provider.TeiidWSProvider.invoke(TeiidWSProvider.java:316)

              at org.teiid.soap.provider.WsView_super_heroes_view.invoke(WsView_super_heroes_view.java:22)

              at org.teiid.soap.provider.WsView_super_heroes_view.invoke(WsView_super_heroes_view.java:15)

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

              at java.lang.reflect.Method.invoke(Method.java:597)

              at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:173)

              at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:89)

              at org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:60)

              at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:75)

              at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)

              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)

              at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

              at java.util.concurrent.FutureTask.run(FutureTask.java:138)

              at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)

      ------------------

       

      Softwares -> Teiid Designer, Runtime 7.7, Jboss SOA platform 5.3.1, Eclipse Indigo

      Sequence of steps is as:

      Define relational view model on top of file source ->create web services on the relational model -> Define VDB -> create Datasource in Teiid view -> Generate JbossCXF-War war using the JNDI name of datasource -> Deploy WAR in SOA platform

      --------------------

       

      1. I have seen another thread in which same error was coming due to non-installation of Apace-CXF. However in SOA Platform, while installing teiid in SOA platform, build also install Apache CXF so not sure of the real reason for this error?

      2. Is there a way to test these web services in teiid designer?

       

      Regards

      Sanjay

       

       

       

       

       

      Regards

      Sanjay