cancel
Showing results for 
Search instead for 
Did you mean: 

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

former_member302452
Participant
0 Kudos

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.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

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,

markangelo_dihiansan
Active Contributor
0 Kudos

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

former_member302452
Participant
0 Kudos

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

markangelo_dihiansan
Active Contributor
0 Kudos

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

former_member302452
Participant
0 Kudos

Hello Mark,

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

Regards,

Md.Thouheed

former_member279361
Discoverer
0 Kudos

Hi Md, See Sap notes 2663563 ...!

Regards

Moraes

markangelo_dihiansan
Active Contributor
0 Kudos

Hi,

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

Regards,

Mark