473,403 Members | 2,071 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

How to call a web service from a jsp in weblogic

14
Hi,
I have created a web service in weblogic. I want to call that web service from my jsp. Url of the web service is "http://localhost:7001/myFirstWS/services/HelloWorld". It contains an operation called greetHello() which displays "Hello World" on the screen.

The client classes for the web service are -
HelloWorld.java
HelloWorldService.java
HelloWorldService_Impl.java
HelloWorld_Stub.java

Can anyone please help me out with the code to call the web service from the jsp.

Thanks in advance,
Tiijnar
Aug 7 '09 #1
1 4380
Dököll
2,364 Expert 2GB
Hey there!

You should localhost is specific to only your pc or machine you are running you program, we would not have a way to reach it from here.

Also, posting class names will not help us help you. We eat and breath code here, post that beautiful code and stay tuned:-)

Save you the trouble of waiting...

How's that for a deal?
Nov 20 '09 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Jokeline | last post by:
=====PRANK CALL===== How to use this service: 1. Choose a Prank from the list below 2. Make sure you have the telephone number of your chosen target 3. Call 0906 403 8796 4. Listen in as the...
0
by: d.gallone | last post by:
Hello, I'm using VB .NET 2003 and I want to add a web reference at run time. I've a app.config file where the web references are defined, but how to call the service method defined in the wsdl ?...
2
by: shyam | last post by:
I have a C++ COM based windows service which have more than 30k lines of code and which is stablized over years. We need to take the advantage of the ..NET framework for this project, especially...
1
by: Scott Yen | last post by:
Hi, I'm using the following Axis java client to invoke a .Net web service hosted my localhost. Although the username and password is set on the "call", client gets (401) Access Denied"...
3
by: Grant Schenck | last post by:
Hello, I have a Windows Service developed in C# .NET. I'm making it a remote server and I can, via an IPC Channel, expose methods and call them from a client. However, I now want my remoted...
2
by: Hakan Örnek | last post by:
Hi , I want to parameter passing to my windows sevice. I call service commands like this ; '------------------------------------------------------------ Dim sc As ServiceController sc = New...
1
by: irvine4ever84 | last post by:
I have a notepad,which having a data store into it and then overwrite by a new data every 1 second constantly. I want to read the data (which is the total bandwidth usage of my whole WLAN)which...
6
Sakalicek
by: Sakalicek | last post by:
Hello. I have problem with network credentials on my Windows service. I have 2 PCs. On the first PC I create controller which calls windows service on the other PC. Always I got...
6
by: plork | last post by:
hi all i'm calling a web service method and can get it's results just fine however i want to grab the repsonse message from the call is anyone able to tell me how i do this? results =...
0
by: Siyodia | last post by:
This is a java program which i need to run facing compilation error Its consuming a third party web service method I have the supported files(folder) which contain necessary class files...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.