on 05-14-2007 7:52 AM
Hi All,
i woid like tyo know in which cases we use soap and HTTP adapter and give me some examples .....how to handle some of errrors with this two adapters we face ..
regards
ptrao
Hi Nitesh,
SOAP Adapters:
Whenever you deal with Web Service (Applications) for sending or receiving data, you need to use SOAP adapters.
example : Suppose there is a Web Service which is used to book Airline Tickets and you need to transfer the data captured here to the actual Airline DB.
Check the following links which might help you SOAP Scenarios
/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
https://weblogs.sdn.sap.com/pub/wlg/1334 [original link is broken] [original link is broken] [original link is broken] [original link is broken]
https://weblogs.sdn.sap.com/pub/wlg/2131 [original link is broken] [original link is broken] [original link is broken] [original link is broken]
https://weblogs.sdn.sap.com/pub/wlg/1442 [original link is broken] [original link is broken] [original link is broken] [original link is broken]
/people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services
/people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
/people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2
Trouble shooting:
/people/stefan.grube/blog/2007/03/29/troubleshooting-soap-http-and-mail-adapter-scenarios-with-tcpgateway
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here are 2 examples from the OSS note
Q: My client gets no connection to the adapter's URL.
A: Make sure that the adapter is running at the specified URL. Use
your browser to open the URL for your SOAP sender channel. The page
should show a status page with status "OK".
Q: I get the SSL handshaking error. I get some error when I call my
SSL web service.
A: First, please make sure that the SSL server is working correctly
with another client. If the server is working and you still have
the problem, the most likely cause is that your J2EE engine is not
configured appropriately to be able to use the unrestricted strong
features of the cryptographic library. Please make sure that:
- The JDK java security lib directory ($JAVAHOME/jre/lib/security)
contains the unrestricted strong version of local_policy.jar and
US_export_policy.jar, which are about 5KB and not the restricted
version that are about 3KB each. If you have the restricted
version, please refer to http://java.sun.com/ to obtain the
unrestricted version.
- The full version of IAIK is available in the J2EE engine's
Security Provider. To check this, go to Service -> Security
Provider -> Cryptography Providers, and select IAIK. The Provider
Information field should show the full version (e.g., IAIK Security
Provider v3.12) and not the evaludation version (e.g., IAIK
Security Provider v3.01, evaluation version). If you have the
evaludation version, please refer to the security setting section
of the SAP J2EE documentation.
o Q: Can I use SSL with client certificate to authenticate my
adapter?
A: Yes. You can configure your receiver channel to use a client
certificate. This feature is available from SP13.
<i>
Note: I can email you the document as PDF.</i>
Regards
krishna
Hi Nitesh
Here is a simple example involving http->>>Soap
Sender : Http Client (Http adapter)
Reciver : SOAP (Web service)
The html client sends a city code to XI . Xi sends the city code to a Weather Webservice to fetch weather info for a city. The Webservice sends back the weather data to XI . XI loops it back to the HTML client. As you can see, this is a simple synchronous interface.
The webservice is made accessible in XI through the "TargetURL" parameter in the Rx soap adapter.
Regards
krishna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Joshi
When you want to intregrate XI with a Webservice, you use SOAP adapters.
Sender SOAP adapters allow you to expose your outbound message interface as a webservice so that anyone with the right credentials can access / trigger data to
XI.
Receiver SOAP adapters are used to call a webservice from XI.
Receiver HTTP adapters are used to post a HTTP request message from XI to a HTTP service.
Go through these discussed threads on HTTP and SOAP and you will get a clear idea about it:
Cheers..
Vasu
Reward Points if found useful **
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
you use SOAP adapter if you want to use web services
you can use http in any other case when you do http communication
Regards,
michal
-
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.