How to call a web service from a jsp in weblogic

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tiijnar
    New Member
    • Nov 2008
    • 14

    How to call a web service from a jsp in weblogic

    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
    HelloWorldServi ce.java
    HelloWorldServi ce_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
  • Dököll
    Recognized Expert Top Contributor
    • Nov 2006
    • 2379

    #2
    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?

    Comment

    Working...