cancel
Showing results for 
Search instead for 
Did you mean: 

Creating Webservice with SAP and consumig it with external Java Application

Former Member
0 Kudos

Hi!

I am Frank and i am writing my bachelor-report. For this report i have to establish communication between a running SAP system and an external Java application.

I decided to use webservices.

i set up a small webservice to calculate SQRT (as a test) and published it.

now i want to consume it with an external java application and don't know what to do.

perhaps anybody can help me here

regards

Frank

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

hi frank,

this is pretty easy: [google for: java consume webservice|http://www.google.de/search?q=javaconsumewebservice] and follow one of the gazillions of examples, use the codesnippets, etc...

you wonder what Google is? it is a so-called [Search Engine|http://en.wikipedia.org/wiki/Search_engine]. a very handy tool, wfor sure worth another bachelor report.

hope it helps, anton

Former Member
0 Kudos

hehe, good one, thanks anton

okay, i ll try to ask more in detail...

i googled a very long time... and the following questions are still not answered:

1)

i created the WS with the wizard from SAP... i can display the WSDL in the browser but it asks for a username and password.... is there any need for it or can the password-thing be turned off?

1b)

how can this turned off? i tried by setting the authentication to "NONE" and reactivated the WS but it didn't help.

2)

how can i consume this WS in my Java-app (i tested WS in Java with importing the WS by "wsimport -keep path/to/wsdlfile?wsdl") and this won't work with the SAP-created WSDL

regards

Frank

Edited by: Frank Hardenack on Oct 28, 2008 12:06 PM