Skip to Content
author's profile photo Former Member
Former Member

Failed to Consume Gateway OData Service(Https) via Cloud Connector

Hello,

I am trying a exercise to consume an gateway OData service that's exposed from cloud connector, currently I have finished following parts:

1.Register the OData service in Netweaver Gateway.

It runs OK on chrome client.


[image removed by Moderator. Needs updated redacted version]

2.Expose the Service on Cloud Connector

[ image removed by Moderator. Needs updated redacted version]

3.I create a Destination on HCP and deploy the Java application to HCP

When I run the servlet, it gives the issue: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 405 Method Not Allowed"

*My question is: can I access the HTTPS service via the cloud connector? for the HTTPs access, do I need any more settings in Cloud Connector such as Certificate ?

Many thanks .

Message was edited by: Michael Appleby

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Jun 27, 2016 at 11:58 AM

    Alex Liao wrote:

    Unable to tunnel through proxy. Proxy returns "HTTP/1.1 405 Method Not Allowed"

    Hi Alex,

    this error looks like the servlet tries to communicate directly via the HCP's proxy to the outisde internet (instead of connecting to the Cloud Connector). Can you check in your Destination on HCP side, whether you have selected

    Proxy Type = OnPremise

    Best Regards, Ulrich

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Ulrich Schmidt

      Hi Ulrich,

      Many thanks for your reply .

      Currently I still don't have a solution to the issue, and I have attached the document step1~3 with details, hope this can make it clear.

      Expect your valuable suggesions.

      Thanks and best regards.

      [Step 1 image removed by Moderator due to internal SAP urls remaining visible. Please do not post these a third time!!!!]

      Message was edited by: Michael Appleby

      Step 3.txt.zip (882 B)
      step 2.JPG (31.6 kB)
  • Posted on Jun 27, 2016 at 11:02 AM

    Hi Alex,

    You should be able to access HTTPS service via cloud connector. You would have set this protocol when defining the system in the access control.

    I generally only refer to the OData services in the Resource section. Try removing AirlineSet from the resource URL.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.