cancel
Showing results for 
Search instead for 
Did you mean: 

Mail Service using Web Service

Murali_Shanmu
Active Contributor
0 Kudos

Hi

I tried using http://www.xmethods.com/ to get IEmailService WSDL file. But i am getting an error when i try to access it and create a model.

Can anyone suggest me someother Web Services available for Mail Send feature.

Murali

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos
Murali_Shanmu
Active Contributor
0 Kudos

Hi Rajeev

It says Invalid WSDL file. I had already tried this one Yday. I selected Local File System or URL and pasted this URL. Soon it gave me an Invalid WSDL file Message.

The Second link you sent was not opening at all.

Murali.

Former Member
0 Kudos

Hi,

Try to save the wsdl in local system and then while creating model browse that wsdl and then press finish.

It should work.

Regards,

Rajeev

Murali_Shanmu
Active Contributor
0 Kudos

Thanks Rajeev. It worked. One last question. So with this i can send mails from my WebDynpro application to my Yahoo ID. Do i need to do any kind of settings ?

Thanks a lot.

Former Member
0 Kudos

Hi ,

No setting is required.

Regards,

Rajeev

Murali_Shanmu
Active Contributor
0 Kudos

Hi

I got this error 'Service call exception; nested exception is: java.net.ConnectException: Connection timed out: connect' when i tried sending a mail. Thats why i asked if i need to make any settings.

Murali

Former Member
0 Kudos

Hi,

In model->logical port have you set proxy host as proxy and proxy port as 8080.

regards,

Rajeev

Murali_Shanmu
Active Contributor
0 Kudos

I dont know where to set this in the Model. I have not given 8080 anywhere in the model. It didnt ask me any proxy details at all..

I am a beginner level. Could you please eloborate.

Thanks

Murali_Shanmu
Active Contributor
0 Kudos

Should i chose " UDDI or URL " option to create a model.

I used "Local File System or URL " ?

Murali_Shanmu
Active Contributor
0 Kudos

Ok. I found out where to make the proxy entries. I am testing it.

Former Member
0 Kudos

Hi ,

In your webdynpro project goto

models-><name of model you created>->Logical Ports->SendEmailPort double click on SendEmailPort check on use http proxy and then you can set the values for host and port.

Regards,

Rajeev

Former Member
0 Kudos

Hi,

You should choose "Local File System or URL". That part is correct.

Now you have to make HTTP proxy settings. For this visit <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/da/2bf042493ef54499a77394ef6be096/content.htm">this</a> link.

Regards,

Satyajit.

Murali_Shanmu
Active Contributor
0 Kudos

Hi

I am still facing an Error " Service call exception; nested exception is: java.lang.NullPointerException "

I have given the proxy server name and Proxy port just the way it is given in my Browser's Internet option. But still it is not working.

Satyajit, I referred that document to make these settings previously.

Thanks.

Murali.

pravesh_verma
Active Contributor
0 Kudos

Hi Muralidaran,

Yes you will get this error!! Reason being you have copied the WSDL file to the local system and then created the model with that. Everytime when it will try to connect to the hosting server it will time out, as your web service is not yet hosted it is at your local drive.

Actually when you create a WebService model then the WSDL (Web Service Description Language), file need to be hosted somewhere. What you are doing right now is you have copied the file to the local system but it is not refering to the Hosted server.

Yes it will definately create the all the nodes in the webservice model like: <i>FromAddress, Result etc</i>., but that is just a structure.

I would suggest to look for some webservice link which is directly hosted on internet. And give the path of the that webservice link.

I hope that helps!!

Regards

Pravesh

Murali_Shanmu
Active Contributor
0 Kudos

Hi

Thanks for the suggestion Rravesh. It makes lot of sense. I shall keep searching for some other web service. If you do find any, please let me know.

Murali.

Former Member
0 Kudos

Hi,

This WSDL is already hosted in www.abysal.com.What I would suggest is to check whether the logical ports-sendEmailPort target address is http://www.abysal.com/soap/soapmail.wtdp

regards,

Rajeev

Murali_Shanmu
Active Contributor
0 Kudos

Hi

The target address under logical ports-sendEmailPort is http://www.abysal.com/soap/soapmail.wdtp

I copied the link and tried opening it in my browser. It gave me the following:

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

- <SendEmailResponse>

<ReturnCode>98</ReturnCode>

</SendEmailResponse>

Murali.

Former Member
0 Kudos

Hi,

What is your internet proxy server address and port.

regards,

Rajeev

Murali_Shanmu
Active Contributor
0 Kudos

Hi

My proxy server is chnproxy.covansys.com and Port it listens is 80.

Murali.

Former Member
0 Kudos

Hi,

If you are using the hosted WSDL, then I suggest you follow <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/da/2bf042493ef54499a77394ef6be096/frameset.htm">this</a> step-by-step tutorial.

Regards,

Satyajit.

Answers (0)