Win a copy of Rust Web Development this week in the Other Languages forum!
  • 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

web service client

 
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I have to to act as webservice client and have to invoke method exposed by web service.
I know the wsdl url . Also in wsdl

<wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />

that is it uses rpc-encoded style.
Also it requires BASIC authentication for which i know the userid and password.

Can anyone please suggest me how to generate client and use this web service using the client.
My application will be deployed in Jboss.
I have to invoke web service from a java class

Please let me know if anything else i need to share.
 
Saloon Keeper
Posts: 7227
169
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
All major SOAP stacks have tools for creating client code; check the documentation of whichever one you intend to use (Axis2, JAX-WS RI, etc.). The tool could be called wsdl2java or something like that.
 
reply
    Bookmark Topic Watch Topic
  • New Topic