• Post Reply Bookmark Topic Watch Topic
  • New Topic

Using Wsimport to generate stubs

 
Srinivas Deshabhoina
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • 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 ]
 
Peer Reynders
Bartender
Posts: 2968
6
  • 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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!