on 11-08-2012 4:13 AM
Hi guys,
I have a requirement to call a PI Interface from ABAP stack.
I couldn't generate ABAP Proxy because the interface using an external message type.
is it possible to directly call a webservice from ABAP stack with out using ABAP Proxy or with WSDL can I directly create a ABAP proxy ?!
What is point-to-point connection using the Web service infrastructure ?
Thanks
Sam
Hello,
I have a requirement to call a PI Interface from ABAP stack.I couldn't generate ABAP Proxy because the interface using an external message type.
It is possible to generate, but you could only use external message types for your request and response message. You cannot mix an external message (External Definition) with a Message Type for proxy generation.
is it possible to directly call a webservice from ABAP stack with out using ABAP Proxy or with WSDL can I directly create a ABAP proxy ?!
It is also possible to call a webservice from ABAP stack by using the function module HTTP_POST or via the CL_HTTP_CLIENT. Using either approach, you are still required to build your SOAP Envelope and the corresponding HTTP Headers e.g for SOAP Action, Content-Type, etc.
Hope this helps,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Sam,
As for the HTTP_POST, I could only find this:
http://www.sap-forum.org/f19/manual-http-post-from-abap-t1558/
Here is a document from SAP Help for executing an HTTP Request
http://help.sap.com/saphelp_gateway20sp03/helpdata/en/1f/93163f9959a808e10000000a114084/content.htm
You can get the response HTTP Body by the method GET_CDATA from the interface IF_HTTP_ENTITY. You should try first what Gagandeep suggested in your other thread
Hope this helps,
Mark
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.