• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Using Wsimport to generate stubs

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi:

I am getting this error when I try to use wsimport to generate client stubs from a WSDL.

C:\Sun\jwsdp-2.0\jaxws\bin>wsimport.bat -s C:\SJSU\Temp\src https://server.domain.com/WebService/WorkerService.asmx?WSDL
error: either the "element" or the "type" attribute is required in part "Body"

C:\Sun\jwsdp-2.0\jaxws\bin>wsimport.bat -version
JAX-WS RI 2.0-b26-ea3

Not sure what this is. Any help will be greatly appreciated.

Thanks
Srinivas.
[ April 21, 2008: Message edited by: Srinivas Deshabhoina ]
 
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to JavaRanch!

How to Get Help with SOAP web services

Obviously wsimport is having trouble consuming that WSDL. So the relevant portions of the WSDL and supporting XML Schemas are needed before anybody can assist you.
reply
    Bookmark Topic Watch Topic
  • New Topic