[jbossws-issues] [JBoss JIRA] Commented: (JBWS-1260) exception when creating client-artifacts with unwrap enabled
Darran Lofthouse (JIRA)
jira-events at jboss.com
Mon Nov 20 17:23:41 EST 2006
[ http://jira.jboss.com/jira/browse/JBWS-1260?page=comments#action_12347480 ]
Darran Lofthouse commented on JBWS-1260:
----------------------------------------
Also see JBWS-1387 for another WSDL that also reproduces this issue.
> exception when creating client-artifacts with unwrap enabled
> ------------------------------------------------------------
>
> Key: JBWS-1260
> URL: http://jira.jboss.com/jira/browse/JBWS-1260
> Project: JBoss Web Services
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: wstools
> Affects Versions: jbossws-1.0.3
> Reporter: Ole Matzura
> Assigned To: Darran Lofthouse
> Fix For: jbossws-1.0.5
>
>
> When creating client artifacts for http://www.webservicex.net/CurrencyConvertor.asmx?WSDL with unwrap set to true, the following error occurs:
> Exception in thread "main" org.jboss.ws.WSException: String passed is null
> at org.jboss.ws.metadata.wsdl.WSDLUtils.firstLetterUpperCase(WSDLUtils.java:453)
> at org.jboss.ws.tools.XSDTypeToJava.createJavaFile(XSDTypeToJava.java:138)
> at org.jboss.ws.tools.XSDTypeToJava.createJavaFile(XSDTypeToJava.java:114)
> at org.jboss.ws.tools.WSDLToJava.generateJavaSource(WSDLToJava.java:701)
> at org.jboss.ws.tools.WSDLToJava.generateJavaSource(WSDLToJava.java:694)
> at org.jboss.ws.tools.WSDLToJava.unwrapResponse(WSDLToJava.java:321)
> at org.jboss.ws.tools.WSDLToJava.getReturnType(WSDLToJava.java:555)
> at org.jboss.ws.tools.WSDLToJava.appendMethods(WSDLToJava.java:372)
> at org.jboss.ws.tools.WSDLToJava.createSEIFile(WSDLToJava.java:512)
> at org.jboss.ws.tools.WSDLToJava.createSEI(WSDLToJava.java:534)
> at org.jboss.ws.tools.WSDLToJava.generateSEI(WSDLToJava.java:188)
> at org.jboss.ws.tools.helpers.ToolsHelper.handleWSDLToJavaGeneration(ToolsHelper.java:329)
> at org.jboss.ws.tools.WSTools.process(WSTools.java:138)
> at org.jboss.ws.tools.WSTools.generate(WSTools.java:120)
> at org.jboss.ws.tools.WSTools.main(WSTools.java:61)
> my wstools config is as follows:
> <configuration xmlns="http://www.jboss.org/jbossws-tools">
> <global>
> <package-namespace namespace="http://www.webserviceX.NET/" package="test"/>
> </global>
> <wsdl-java file="http://www.webservicex.net/CurrencyConvertor.asmx?WSDL" unwrap="true">
> <mapping file="CurrencyConverter-mapping.xml"/>
> </wsdl-java>
> </configuration>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbossws-issues
mailing list