on 10-28-2008 9:08 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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.