[ http://jira.codehaus.org/browse/XFIRE-356?page=comments#action_63797 ]
Dan Diephouse commented on XFIRE-356: ------------------------------------- This is happening because your second schema doesn't have a targetNamespace, which I highly recommend. At the very least its against the basic profile to not have a targetNamespace: http://www.ws-i.org/Profiles/BasicProfile-1.0-2004-04-16.html#refinement16552904 Granted, we should be able to support no tns. I will see what I can do to fix this and at the very least I'll add better error reporting. > java.lang.IllegalArgumentException: Invalid name [null] when generating client > ------------------------------------------------------------------------------ > > Key: XFIRE-356 > URL: http://jira.codehaus.org/browse/XFIRE-356 > Project: XFire > Type: Bug > Components: Generator > Versions: 1.1-beta-1 > Reporter: Adam J Chesney > Assignee: Dan Diephouse > Priority: Minor > Attachments: wwc.wsdl > > > I'm not sure what's going on here and I guess it could be PEBCAK but XMLSpy > says the attached WSDL is valid, but when I run it through the WSGEN task I > get: > BUILD FAILED > F:\dev\xfire-clients\worldwidecars\build.xml:31: The following error occurred > while executing this line: > F:\dev\xfire-clients\worldwidecars\build.xml:64: > java.lang.IllegalArgumentException: Invalid name [null] > <target name="generate_source"> > <wsgen outputDirectory="${src.dir}" > package="com.wwc.client" > wsdl="${basedir}/wwc.wsdl"> <-- this is line 64 > </wsgen> > </target> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
