cancel
Showing results for 
Search instead for 
Did you mean: 

Consuming Web Services from different languages

Former Member
0 Kudos

hi All,

Has anyone tried consuming the ESA Preview webservices in language other than Java and ABAP? for example pure JavaScript or Ruby?

Kiran

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Anyone else here using other languages for accessing the webservices? I'd be especially interested in developers using scripting languages - like PHP, Perl, etc.

:Frederic:

marilyn_pratt
Active Contributor
0 Kudos

Look at the <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/developerareas/technology">Technology page</a> to find a whole series by Vasil Bachvarov using various languages, for example: How to: Scripting Language Support For SAP Services - RUBY.

Anton Wenzelhuemer also has blogged about PHP and consuming services.Integrating PHP and ABAP Using Webservices : Anton Wenzelhuemer creates a tutorial to show how to make use of webservices technologies to integrate PHP and ABAP.<a href="/people/anton.wenzelhuemer/blog/2006/03/05/integrating-php-and-abap-using-webservices's blog</a>

Former Member
0 Kudos

Hi Kiran,

We are using Microsoft .NET as the client platform to consume these preview services for our testing. It works OK and also meets the WS-I Basic Profile interoperability tests.

Regards,

Anthony Smith, UK

Former Member
0 Kudos

hi Anthony,

Just curious, how do you set the security stuff if you are not using J2EE Engine? (e.g. user id,password needed for basic authentication)

Through J2EE engine, one can set the authorization in the Visual Admin tool.

Kiran

former_member583013
Active Contributor
0 Kudos

In Visual Basic, you can set Network Credentials like this (assuming that you first declare Public CallWebService001 As New <WebReference>):

' Create a new instance of CredentialCache.

Dim mycredentialCache As Net.CredentialCache = New Net.CredentialCache()

' Create a new instance of NetworkCredential using the client

' credentials.

Dim credentials As Net.NetworkCredential = New Net.NetworkCredential(<username>, <password>)

' Add the NetworkCredential to the CredentialCache.

mycredentialCache.Add(New Uri(CallWebService001.Url), "Basic", credentials)

' Add the CredentialCache to the proxy class credentials.

CallWebService001.Credentials = mycredentialCache