users@jaxb.java.net

Java classes from WSDL using metro

From: Jeff Haynes <Jeffrey.Haynes_at_Sun.COM>
Date: Sat, 18 Apr 2009 00:15:33 -0500

I am using Metro 1.4.

Does anyone know how to resolve these warnings? I think that I need some
sort of customization file, but can't seem to figure out what is needed.

The warnings occur because a type is used before it is declared in the
wsdl file (I think). Is there a standard way to fix this kind of warning?

 [wsimport] command line: wsimport -d
/home/jh149683/workspace/idm/tmp/client -Xdebug -Xnocompile -keep
-verbose idm/client/wsdl/grc/5.3/SAPGRC_AC_IDM_AUDITTRAIL/main.wsdl -p
com.sun.idm.rpc.sap.grc.ac53.websvc.auditTrail
 [wsimport] parsing WSDL...


 [wsimport] [DEBUG] Authorization file "/home/jh149683/.metro/auth" not
found. If the WSDL access needs Basic Authentication, please provide
authorization file with read access at /home/jh149683/.metro/auth or use
-Xauthfile to give the authorization file and on each line provide
authorization information using this format :
http[s]://user:password_at_host:port//<url-path>


 [wsimport] [WARNING] src-resolve: Cannot resolve the name
's0:AuditLogResult' to a(n) 'type definition' component.
 [wsimport] line 100 of
file:/home/jh149683/workspace/idm/idm/client/wsdl/grc/5.3/SAPGRC_AC_IDM_AUDITTRAIL/porttypes/Config1_SAPGRC_AC_IDM_AUDITTRAILVi_document.wsdl#types?schema4
<map://jh149683_at_mail-amer.sun.com:143/fetch%3EUID%3E/Sent%3E10298?part=1.1.2&filename=Config1_SAPGRC_AC_IDM_AUDITTRAILVi_document.wsdl%22>

 [wsimport] [WARNING] src-resolve: Cannot resolve the name
's0:BOException' to a(n) 'type definition' component.
 [wsimport] line 24 of
file:/home/jh149683/workspace/idm/idm/client/wsdl/grc/5.3/SAPGRC_AC_IDM_AUDITTRAIL/porttypes/Config1_SAPGRC_AC_IDM_AUDITTRAILVi_document.wsdl#types?schema2
<map://jh149683_at_mail-amer.sun.com:143/fetch%3EUID%3E/Sent%3E10298?part=1.1.3&filename=Config1_SAPGRC_AC_IDM_AUDITTRAILVi_document.wsdl%22>

 [wsimport] generating code...


Thanks,

Jeff Haynes