Skip to Content
0

Testing HTTP options gives me error saying "405 Method Not Allowed" (Receiver REST Adapter)

May 08, 2017 at 07:52 AM

685

avatar image

Hi Experts,

I’m working on Rest to Rest scenario, while I’m testing in rest client tool it works good and gives me 200 Ok code.

At receiver end when I ping channel it gives me “Testing HTTP OPTIONS…” “405 Method Not Allowed”.

And also I get HTTP response code as 500 Internal error.

Messages going in Waiting Status

Receiver REST Adapter:

Please help me to resolve this error. Any quick reply would be helpful.

Best Regards,

Md.Thouheed.

1.png (74.0 kB)
3.png (74.1 kB)
4.png (62.0 kB)
5.png (107.0 kB)
6.png (77.9 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

4 Answers

Mark Dihiansan May 08, 2017 at 09:59 AM
0

Hi,

Under the Rest Operation - Static Value have you tried GET instead of POST?

Regards,

Mark

Share
10 |10000 characters needed characters left characters exceeded
Mohammad Thouheed May 08, 2017 at 10:45 AM
0

Hello Mark,

It’s throwing Testing HTTP Head “Method Not Allowed ”Error.

Regards,

Md.Thouheed


7.png (44.4 kB)
Share
10 |10000 characters needed characters left characters exceeded
Mark Dihiansan May 09, 2017 at 02:36 AM
0

Hi Md,

A ping is just a tool to ensure that you can reach the server. What happens when you run end-to-end?

Regards,

Mark

Show 2 Share
10 |10000 characters needed characters left characters exceeded

Dear Mark,

When I test my scenario then I'm getting HTTP 500 Internal Server Error.
Here is the message log for the same.

Please let me know what can be the reason here, When I use REST Client tool I'm able to see HTTP 200 Okay.
Please suggest what can be done further.

Regards,
Md Thouheed

1.png (224.0 kB)
0

Hi Md,

If you have SOAP UI, try executing the REST webservice there. Afterwards, compare the HTTP Headers generated with the ones PI is sending.

Regards,

Mark

0
avatar image
Former Member Dec 11, 2017 at 04:23 PM
0

Hello!!

Were you able to solve this error? What did you do?

I have exactly the same issue but with PUT method. It´s working with SOAPUI, but not with sap.

Can anyone help?

Thank you,

Share
10 |10000 characters needed characters left characters exceeded