cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP adapter: WSDL issue

former_member190178
Participant
0 Kudos

Hi Experts,

I am working on File-XI-->Mail scenrio using SOAP adapter. My file contains only one line fields say:

TATA 407

I have configered File adapter perfectly and CC of it is showing perferctly green (Data is coming in MONI). On the counter SOAP side, I would like to send this file to the Gmail. But I am not able to do this due to the fact that I am not understanding the WSDL ? I have read several doucments but not one is giving the perfect idea about it.

Please tell me how to accomplish it. Please avoid to send the links. Please help ASAP.

-=Soniya=-

Accepted Solutions (1)

Accepted Solutions (1)

dharamveer_gaur2
Active Contributor
0 Kudos

Use similar thread to send external mail

The configuration of the Mail Adapter is described here:

/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure

http://help.sap.com/saphelp_nw04s/helpdata/en/6b/4493404f673028e10000000a1550b0/frameset.htm

former_member190178
Participant
0 Kudos

No. All these links are talking about the Mail adapter.

Can anybody tell me:

What is a Webservice and how to use it ?

Where excatly we use it.

I mean I am confused with this all concept..

My scenrio is very very simple as I am trying to push a file to FTP using the SOAP adapter at the receiver end.

Please show me light .

Former Member
0 Kudos

Hi Soniya,

In short, webservices are a way to exchange messages between applications. It uses industry standard SOAP as message protocol and HTTP as transport protocol to accomplish that.

I would suggest you to go through some online tutorial to understand more about webservices -

www.w3schools.com/webservices/ws_intro.asp

Coming back to your scenario, for sending mails from XI/PI you need to use Mail adapter not the SOAP adapter as already suggest by other forum members.

You can use SOAP adapter (for webservice communication) when you need to exchange messages between applications.

Hope it clears some doubt.

Regards.

prateek
Active Contributor
0 Kudos

Why r u trying it with soap adapter when u already have mail adapter?

SOAP adapter when used at receiver, calls a webservice. This webservice uses an exposed wsdl of receiver. Gmail in ur case does not act as a Webservice. This is because, Gmail won't allow you to send data to its webserver using any SOAP call. U may actually try contacting google if they provide the wsdl for sending mail to their site.

Regards,

Prateek

former_member190178
Participant
0 Kudos

I am using SOAP adapter just to test it out coz I have already done the Mail adapter. Can you please tell me how can I contact the Google or how to get the WSDL to send the mail.

Please help.

former_member190178
Participant
0 Kudos

I do agree that Mail adapter can be used in place of SOAP. But as per my understanding SOAP is also the way to send the messages. Frienz, I have already told that I have gone through the Mail adapter and would like to try the SOAP. Actually I am not understanding how to create the Webservice as many documents say the same. Somebody is saying that Webservices are the one, where you send your messages either side people are saying. Webservices are being created in the XI. How the flow goes excatly, I need to know. Please provide me something on FIle to SOAP scenerio so that I can get the better understanding of it.

Its getting troublesome now.

Former Member
0 Kudos

Hi Soniya,

>>I do agree that Mail adapter can be used in place of SOAP

No, it's not that.

SOAP and Mail adapter are two different things. SOAP adapter is used to exchange SOAP messages (do not confuse "message" with "email message") between applications (XI/PI to third pary OR third-party application to XI/PI) using SOAP/HTTP protocol. Whereas Mail adapter is used to send email using IMAP/POP3 protocol.

>>Somebody is saying that Webservices are the one, where you send your messages either side people are saying.

Correct. You can configure SOAP adapter as sender in PI and receive SOAP messages in PI sent by some third-party application. OR you can configure SOAP adapter as receiver and post the message form PI to some third-party provided URL.

For exposing webservice from PI all you need to do is to go to Integration directory. Select the sender aggrement you want to puslish as web service. From TOOLS menu say display WSDL. Save this WSDL and provide it to client/third-party application. They will have to generate the client proxy class and post the message from there to PI.

For cosuming webservice in PI (posting message from PI), third-party application has to provide you with a URL which you will enter into SOAP receiver type adapter.

Regards.

former_member190178
Participant
0 Kudos

Hi Jitendra,

I got this concept told by you. I tried for the things again but got stuck on several points. Here in this scenerio I have a File having three fields say:

  • Name

  • Address

  • Email.

I would like to mail it to my Gmail account using SOAP adapter. My file adapter is ready with no errors. But when It comes to use of Webservices I have no idea on it:

> How to get the WSDL for Gmail ? As WSDL (Gmail) was not available to me so I started trying to create the own Data type and Message type reading one document but later in CC I had to put the SoapOperation and the SoapAction which I don't know how to give and what to give ?

Can you please tell me how to proceed.

Experts: Please give a helping hand.

Former Member
0 Kudos

Hi Soniya,

I would again suggest you to go through some basic tutorial of webservices (URL mentioned in my earlier response). You need to understand the concept before actually trying to use them.

>>I would like to mail it to my Gmail account using SOAP adapter. My file adapter is ready with no errors. ?>>But when It comes to use of Webservices I have no idea on it:

See, you just cant go about using SOAP adapter and posting SOAP message to any URL. Be it GMAIL or YAHOO MAIL or....

Webservices has two parts. One is the Provider and other is Consumer. Now, if GMAIL does not provide this webservice, how can you post/consume this webservice from PI (or anyother tool for that matter) ??

A friendly advise to you is to -

1. Go through some basic tutorial of webservices. Keep in mind that webservice is a general standard and not something specific to XI/PI.

2. Just search for webservice PI scenarion using SDN search and you will get the complete details as to how to create the scenario.

Go to Xmethods.com , there are couple of public webservices listed there. You may try downloading WSDL and using in your webservice scenario.

Regards.

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

You have one more option.But in that time you can only able to send mail to fixed receivers.

Change the SOAP adapter transport protocol SMTP.

Fill the require values as like mail adpter.

But you can not able to use mail packages.

Regards,

Prakasu

former_member190178
Participant
0 Kudos

Please help me

I want to use the SOAP adapter for Gmail.

Still no positive responses are coming. Infact, I am even not getting the Webservice stuff given in the documents.

former_member189441
Active Participant
0 Kudos

Hi,

You can use the Mail adapter to send message to the Gmail

this blog will give you configuration settings for receiver mail adapter

http://saptechnical.com/Tutorials/XI/IDoctoMail/demo.htm

former_member190178
Participant
0 Kudos

Thanks for the Reply Murli.

I have already gone throuth the Mail Adapter and now I like to use the SOAP adapter. Please tell if you have any idea.

Experts: Please help me.