File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Weblogic WebService Access Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Weblogic WebService Access" Watch "Weblogic WebService Access" New topic

Weblogic WebService Access

Santosh Maskar
Ranch Hand

Joined: Jul 02, 2003
Posts: 226
I was created Service in Weblogic WrokShop name Investigation from Example
but i want to use this service from java client
but i am not cleared how to make a call from any java classes/jsp/servlet

can you please give me some hint so that i will start with the Web Servicess
Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
Workshop should be able to generate the client code for you as well. Have you tried that?

Anyway, usually the best way to go forward is to take the WSDL document for your web service, run WSDL2Java against it, and use the set of Java classes generated for you as-is from your client code. Which web services engine are you using on the client?

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Santosh Maskar
Ranch Hand

Joined: Jul 02, 2003
Posts: 226
I am able to find the WSDL2JAVA , i found one plugin for eclipse,
The service that i created is have only single file that is .JWs where i will find the WSDL file ,
by using this http://localhost:7001/WebServices/investigateJWS/Investigate.jws?WSDL
i found the WSDL file but this runtiime generated file ,

i am not getting how to invoke the service using jsp

my service will return the Txn Id if it is ipproved.
so i want to use this service using simple java program.
Santosh Maskar
Ranch Hand

Joined: Jul 02, 2003
Posts: 226
Thanks , now i got idea and done with this,
I agree. Here's the link:
subject: Weblogic WebService Access
It's not a secret anymore!