cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP to IDOC

itabhishek9
Participant
0 Kudos

Hi SDNites,

Scenario on which I am working is HTTP to IDOC. On HTTP side sender requires the the structure similar to IDOC. So,

1. Can I provide XSD of IDOC.

2. As no mapping is required here, so it becomes pass through scenario where no message mapping is required.

3. In case of Dual stack we use following url i.e. http ://<hostname:port>/<path>?<query-string> where path is /sap/xi/adapter_plain. Can we use the same url and same path for JAVA only stack i.e use HTTP_AAE.

Regards,

Abhi

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member186851
Active Contributor
0 Kudos

Hello Abhishek,

Yes,you can share the XSD of IDOC.

endpoint is fine,also I would suggest you to go with Soap adapter with HTTP protocol if feasible.

itabhishek9
Participant
0 Kudos

Thanks Raghu for the reonse.

1. Can you please tell me the rationale behind using SOAP over HTTP adapter.

2. Hav used the same url with tweaks for ICO but it is not showing any logs in communication channel monitoring that means with that url it is not hitting the PI system.

Regards,

Abhi

former_member183816
Active Participant
0 Kudos

Yes, you can share the xsd of IDoc.

On your second point, HTTP should be preferred over SOAP as it will be lightweight. Here is a sample example of url transformation (IE engine to single stack HTTP_AAE adapter), tried and tested recently

IE engine URL:

https://myhost:18000/dev/sap/xi/adapter_plain?namespace=urn:test:orders:100&interface=test_send_out_...

Corresponding HTTP_AAE URL:

https://myhost:18000/HttpAdapter/HttpMessageServlet?interfaceNamespace=urn:test:orders:100&interface...

For testing, create a dummy ICO with specified interface name, namespace and sender communication component. Assign a HTTP_AAE sender channel in that ICO. Execute this url in browser. Open your sender communication channel in monitoring, you will get hit on that channel (adapter).

Ref:

https://help.sap.com/saphelp_nw73ehp1/helpdata/en/03/e2d70a626342feaef7f2f9f04a1776/content.htm

former_member186851
Active Contributor
0 Kudos

Hello Abhishek,

If you use Soap you can expose and web service in SR and get the endpoint fro there or IR.

And requirement is HTTP means you can go with end points suggested by Ambuj.