• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

help me to access web services

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i generated web services using Rad and runtime environment is apache axies then i got the web browser in that i need to access the methods for accessing web services but i didnt get the results i got exception.for accessing these web services i need to set username and password in the client program using apache axies JAX-RPC client side programing for accessing the web services i cant find out where i need to write the client code.

Thanks,
 
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Doing a soap request using just a web browser will not work very well.

You can use a program called soapUI to test your web service.

To call your web service from a client application you will need to generate your client code from your web service's WSDL file.

Both version of Axis (1 and 2) have nice documentation on how to generate your client code from a WSDL file.

Best of Luck.
 
rajini kriya
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i generated client code using rad now i got client only i need to access the web service using username and password.i need to set the username and password using client code i dont know how to set the username and password using client code and how to acces the web services using the apache axies.can you please help me in this.
 
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You may need to set the USERNAME_PROPERTY and PASSWORD_PROPERTY.

Client Side Axis
API: javax.xml.rpc.Stub

 
rajini kriya
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for your information,

Do i need to write the client for the username and passwod settings. but i dont have any idea how to write the client code for setting the username and password.Do you have any example how to use username and password settings using lready generated client code.

appriciate your help.
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic