cancel
Showing results for 
Search instead for 
Did you mean: 

http to RFC [http adapter issue] - The system can not locate the resource.

Former Member
0 Kudos

Hi,

When I post the message with http client, I am getting the below error.

Line 33: The system can not locate the resource specified.

i.e --> xhttp.send (payload);

It is a java script error.

Result URL:

http://xxx.xxx.xxx.xxx:8000/sap/xi/adapter_plain?namespace=http%3A//www.cisco.com/httptobapi&interfa...

Any idea what went wrong?

Thanks

Balaji

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Please make sure that the sender interface/service/business system that is specified is correct.

Also make sure that you are sending the Http request, by specifying a request payload in the http client.

Regards,

Smitha.

Former Member
0 Kudos

hi,

I have given all the details correct.

Server Host,Port, Client, Sender Service, Interface and namespace and then payload.

It looks like problem is with http client. It is not posting the data correctly.

I tried on 2 different systems.

On one system it gave a problem at line 33 which i mentioned at the first post.

And second system gave line: 27 Permission denied.

Line 27 : xhttp.open ("POST", reqString, false);

Payload:

-


<?xml version="1.0" encoding="UTF-8"?>

<ns0:MT_request_sales_cisco xmlns:ns0="http://www.cisco.com/httptobapi">

<Customer_Number>1002</Customer_Number>

<Sales_Organization>1000</Sales_Organization>

</ns0:MT_request_sales_cisco>

-


Thanks

Balaji

Former Member
0 Kudos

Hi,

The user given in the URL should have some roles.

Go thro this link for details on that:

Regards,

P.Venkat

agasthuri_doss
Active Contributor
0 Kudos

Hi,

>>Permission denied

Check out the role

Regards

Agasthuri Doss

Answers (2)

Answers (2)

agasthuri_doss
Active Contributor
0 Kudos

Hi,

Can you give more details of the error you are facing and where exactly.

Regards

Agasthuri Doss

Former Member
0 Kudos

Look in the SM21 and ST22 of XI, maybe you will find the reason on the problem.

Anyway, is your message persisted in the SXMB_MONI ?

If yes, which error it shows ?

Regards,

Sandro