Skip to main content

[wsimport] [ERROR] found unexpected non-whitespace text: ">"

1 reply [Last post]
Joined: 2006-04-17

When running wsimport on my WSDL file, I see the following error:

<br />
 [wsimport] Consider using / so that wsimport won't do unnecessary compilation<br />
 [wsimport] parsing WSDL...<br />
 [wsimport]<br />
 [wsimport]<br />
 [wsimport] [ERROR] found unexpected non-whitespace text: ">"<br />
 [wsimport]<br />
 [wsimport]<br />
 [wsimport]     Failed to parse the WSDL.<br />
 [wsimport] Command invoked: wsimport C:\dev\java\jdk1.5.0_16\jre\bin\java.exe -d C:\dev\spc\IAM\Shared\IAMInterfaces\IDManager\webservice-ant-output\CustomerAdminManager\Service -keep C:\dev\spc\IAM\Shared\IAMInterfaces\IDManager\CustomerAdminManager.wsdl

Obviously this error message isnt very helpful in tracking down the issue with the WSDL. I've tried running Ant with "-debug", without any luck. I've also run my WSDL and XSD files through XML Spy and it says they are all valid XML. In addition, I've used these exact same WSDL/XSD files to generate code using Axis, so I know they're good in some context.

Does anyone have any idea how I can get more information to debug this issue with wsimport?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2003-06-14

-Xdebug on the command line scripts should give the complete stack trace. The corresponding ant task option is xdebug. see