[ https://issues.apache.org/jira/browse/TUSCANY-2515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Becker resolved TUSCANY-2515. --------------------------------- Resolution: Fixed It looks like you fixed this one based on commits to the trunk and revisions to build.xml. My guess is that you overlooked resolving the Jira. > ANT script for zipcode-jaxws sample needs to download the wsdls > --------------------------------------------------------------- > > Key: TUSCANY-2515 > URL: https://issues.apache.org/jira/browse/TUSCANY-2515 > Project: Tuscany > Issue Type: Bug > Components: Java SCA Samples > Affects Versions: Java-SCA-Next > Reporter: Raymond Feng > Priority: Minor > Fix For: Java-SCA-Next > > > As the binary distro doesn't ship the WSDLs for the zipcode-jaxws sample. We > need to add a task to the build.xml to download WSDLs before compile. > Otherwise we see: > Buildfile: build.xml > run: > [java] Exception in thread "main" org.osoa.sca.ServiceRuntimeException: > org.apache.axis2.AxisFault: The system cannot infer the transport information > from the / URL. > [java] at > org.apache.tuscany.sca.core.databinding.wire.DataTransformationInterceptor.invoke(DataTransformationInterceptor.java:136) > [java] at > org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:287) > [java] at > org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:154) > [java] at $Proxy39.getWeatherByZipCode(Unknown Source) > [java] at > zipcode.ZipCodeServiceImpl.lookup(ZipCodeServiceImpl.java:59) > [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > [java] at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > [java] at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > [java] at java.lang.reflect.Method.invoke(Method.java:597) > [java] at > org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.invoke(JavaImplementationInvoker.java:132) > [java] at > org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.invoke(PassByValueInterceptor.java:107) > [java] at > org.apache.tuscany.sca.binding.sca.impl.SCABindingInvoker.invoke(SCABindingInvoker.java:61) > [java] at > org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.invoke(PassByValueInterceptor.java:107) > [java] at > org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:287) > [java] at > org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:154) > [java] at $Proxy38.lookup(Unknown Source) > [java] at zipcode.ZipCodeClient.main(ZipCodeClient.java:33) > [java] Caused by: org.apache.axis2.AxisFault: The system cannot infer > the transport information from the / URL. > [java] at > org.apache.axis2.description.ClientUtils.inferOutTransport(ClientUtils.java:73) > [java] at > org.apache.axis2.client.OperationClient.prepareMessageContext(OperationClient.java:302) > [java] at > org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:174) > [java] at > org.apache.axis2.client.OperationClient.execute(OperationClient.java:163) > [java] at > org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker$1.run(Axis2BindingInvoker.java:128) > [java] at java.security.AccessController.doPrivileged(Native Method) > [java] at > org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invokeTarget(Axis2BindingInvoker.java:126) > [java] at > org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invoke(Axis2BindingInvoker.java:94) > [java] at > org.apache.tuscany.sca.core.databinding.wire.DataTransformationInterceptor.invoke(DataTransformationInterceptor.java:78) > [java] ... 16 more > [java] Java Result: 1 > There is a workaround: run mvn build first. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.