Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 356C9200CEF for ; Mon, 4 Sep 2017 13:18:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 341C0164CA0; Mon, 4 Sep 2017 11:18:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 7AC35164C9D for ; Mon, 4 Sep 2017 13:18:22 +0200 (CEST) Received: (qmail 62627 invoked by uid 500); 4 Sep 2017 11:18:21 -0000 Mailing-List: contact dev-help@olingo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@olingo.apache.org Delivered-To: mailing list dev@olingo.apache.org Received: (qmail 62616 invoked by uid 99); 4 Sep 2017 11:18:21 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Sep 2017 11:18:21 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id D7D2118294D for ; Mon, 4 Sep 2017 11:18:20 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.001 X-Spam-Level: X-Spam-Status: No, score=-100.001 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URI_TRY_3LD=0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id TNxVOdI14TG3 for ; Mon, 4 Sep 2017 11:18:16 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 65DA761157 for ; Mon, 4 Sep 2017 11:07:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id AEA97E06BF for ; Mon, 4 Sep 2017 11:07:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 5A1462414B for ; Mon, 4 Sep 2017 11:07:00 +0000 (UTC) Date: Mon, 4 Sep 2017 11:07:00 +0000 (UTC) From: "Gayathri Ramachandran (JIRA)" To: dev@olingo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (OLINGO-1175) Unable to Read metadata MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 04 Sep 2017 11:18:23 -0000 [ https://issues.apache.org/jira/browse/OLINGO-1175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gayathri Ramachandran updated OLINGO-1175: ------------------------------------------ Attachment: Tried running in Postman.png > Unable to Read metadata > ----------------------- > > Key: OLINGO-1175 > URL: https://issues.apache.org/jira/browse/OLINGO-1175 > Project: Olingo > Issue Type: Bug > Components: odata2-core > Affects Versions: V2 2.0.9 > Environment: WINDOWS 7 > Reporter: Gayathri Ramachandran > Priority: Blocker > Labels: V2, olingo > Attachments: metadata.xml, Tried running in Postman.png, V2_XML_Parse_Exception.jpg > > > Hi All , > The description of issue is as below : > Component : Olingo-odata2-api-2.0.9-SNAPSHOT.jar > Operation: Read (de-serialize) data from metadata i.e inputStream and provide Edm > Issue: Unable to read metadata. > I'm consuming a C4C Odata using Olingo-odata2-api-2.0.9. The client was developed by me on May 2017 and was well tested and in use for almost 3 months. For some business reasons, we have not been running the java client since August 2017. > Today, while I tried to tun the JAR file I encountered the below exception: > Exception in thread "main" org.apache.olingo.odata2.api.ep.EntityProviderException: An exception of type 'XMLStreamException' occurred. > at org.apache.olingo.odata2.core.ep.consumer.XmlMetadataConsumer.readMetadata(XmlMetadataConsumer.java:122) > I'm unable to figure out what has gone wrong. I checked the metaData in a browser and it slloks fine (the URI is password protected) I can guide you when we proceed further. > https://my326642.crm.ondemand.com/sap/c4c/odata/cust/v1/mstr_bp/$metadata > Having met the business functionality, I just don't want to try again from scratch using other API's. Hence I request you kindly to support on this as this is really critical, > Thanks > Gayathri -- This message was sent by Atlassian JIRA (v6.4.14#64029)