4 Replies Latest reply on May 14, 2014 9:20 AM by Ramesh Reddy

    How to create a new Web Services Data Source (OData) connection profile

    Ashwini Nanjangud Newbie


      Hi

       

      I have a procedure getbook(TEIID Webservice model operation) . I can see that exposed on OData as follows

      When I try to create a OData connection profile or use importer to create models I am unable to register the end point.

       

      <entry>

        <id>http://localhost:8080/odata/booksWebSvc.1/Procedures(Name='BooksInterface.GetBook',SchemaName='BooksWebSvc',VDBName='BooksWebSvc')</id>

        <title type="text" />

        <updated>2014-05-13T12:15:56Z</updated>

      - <author>

        <name />

        </author>

        <link rel="edit" title="Procedures" href="Procedures(Name='BooksInterface.GetBook',SchemaName='BooksWebSvc',VDBName='BooksWebSvc')" />

        <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ProcedureParams" type="application/atom+xml;type=entry" title="ProcedureParams" href="Procedures(Name='BooksInterface.GetBook',SchemaName='BooksWebSvc',VDBName='BooksWebSvc')/ProcedureParams" />

        <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Schemas" type="application/atom+xml;type=entry" title="Schemas" href="Procedures(Name='BooksInterface.GetBook',SchemaName='BooksWebSvc',VDBName='BooksWebSvc')/Schemas" />

        <category term="SYS.Procedures" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />

      - <content type="application/xml">

      - <m:properties>

        <d:Name>BooksInterface.GetBook</d:Name>

        <d:OID m:type="Edm.Int32" m:null="true" />

        <d:Description m:null="true" />

        <d:NameInSource m:null="true" />

        <d:UID>mmuuid:13ddb09f-179b-4438-b97f-b698292771b6</d:UID>

        <d:ReturnsResults m:type="Edm.Boolean">true</d:ReturnsResults>

        <d:VDBName>BooksWebSvc</d:VDBName>

        <d:SchemaName>BooksWebSvc</d:SchemaName>

        </m:properties>

        </content>

        </entry>