• 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Devaka Cooray
  • Jeanne Boyarsky
  • Bear Bibeault
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • salvin francis
  • Carey Brown
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Using Wsimport to generate stubs  RSS feed

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.

[ April 21, 2008: Message edited by: Srinivas Deshabhoina ]
Posts: 2968
  • Mark post as helpful
  • send pies
  • 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.
All of the world's problems can be solved in a garden - Geoff Lawton. Tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!