[ http://issues.apache.org/jira/browse/TUSCANY-686?page=comments#action_12452031 ] Scott Kurz commented on TUSCANY-686: ------------------------------------
I THINK THIS JIRA CAN BE CLOSED I believe the current reworking of the bindings' use of the ServiceContract and the Java interfaces obtained from it have solved all the issues mentioned, (even though I don't understand how in great detail). > InterfaceWSDLLoader creates WSDLServiceContract objs which return null on > getInterfaceClass() > --------------------------------------------------------------------------------------------- > > Key: TUSCANY-686 > URL: http://issues.apache.org/jira/browse/TUSCANY-686 > Project: Tuscany > Issue Type: Bug > Components: Java SCA Core > Affects Versions: Java-M2 > Environment: r438923 > Reporter: Scott Kurz > Fix For: Java-M2 > > > SYMPTOM (when using <interface.wsdl> elem along with <binding.ws> and Axis 2 > binding: > java.lang.NullPointerException > at > org.apache.tuscany.core.builder.ConnectorImpl.connect(ConnectorImpl.java:314) > at > org.apache.tuscany.core.builder.ConnectorImpl.connect(ConnectorImpl.java:110) > at > org.apache.tuscany.core.builder.ConnectorImpl.connect(ConnectorImpl.java:91) > at > org.apache.tuscany.core.deployer.DeployerImpl.connect(DeployerImpl.java:141) > at > org.apache.tuscany.core.deployer.DeployerImpl.deploy(DeployerImpl.java:103) > at > org.apache.tuscany.core.launcher.LauncherImpl.bootApplication(LauncherImpl.java:193) > PROBLEM: > Axis2BindingBuilder.build does (line 60): > Class<?> interfaze = > serviceDefinition.getServiceContract().getInterfaceClass(); > This simply returns null since the WSDLServiceContract built by > InterfaceWSDLLoader contains a portType but no interface class. Thus the > ConnectorImpl hits the NPE we see above. > Some sort of WSDL2Java should probably? be done when InterfaceWSDLLoader sets > the portType on the WSDLServiceContract it builds. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
