Erro by wsdl upload

fr.'s picture
Hello, i get this when trying to upload a wsdl file from. I am using java 6 and os Vista sp1. File upload failed. Failed to add resource /Calc2/Calculator2.wsdl. Failed to put resource /Calc2/Calculator2.wsdl. All database operations will be rolled back. null org.apache.axis2.AxisFault: Failed to add resource /Calc2/Calculator2.wsdl. Failed to put resource /Calc2/Calculator2.wsdl. All database operations will be rolled back. null at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:517) at org.apache.axis2.description.RobustOutOnlyAxisOperation$RobustOutOnlyOperationClient.handleResponse(RobustOutOnlyAxisOperation.java:91) at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:416) at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:228) at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163) at org.wso2.carbon.registry.ui.resources.ResourceAdminServiceStub.addResource(ResourceAdminServiceStub.java:6520) at org.wso2.carbon.registry.ui.resource.clients.ResourceServiceClient.addResource(ResourceServiceClient.java:436) at org.wso2.carbon.registry.ui.resource.processors.AddResourceProcessor.execute(AddResourceProcessor.java:80) at org.wso2.carbon.ui.transports.fileupload.AbstractFileUploadExecutor.executeGeneric(AbstractFileUploadExecutor.java:68) at org.wso2.carbon.ui.transports.fileupload.FileUploadExecutorManager.execute(FileUploadExecutorManager.java:86) at org.wso2.carbon.ui.transports.FileUploadServlet.doPost(FileUploadServlet.java:58) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:36) at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:116) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) at java.lang.Thread.run(Thread.java:619)
AttachmentSize
Calculator2.wsdl2.24 KB
blah's picture

Upload it from a server

hi, don't upload it from file-system. Put your wsdl in a server and upload it in wso2 as remote url. E.g.: http://localhost:8080/Calculator2.wsdl It works? B.L.
fr.'s picture

Yes it worked, but i hope

Yes it worked, but i hope they correct it for the next release.
krishantha's picture

Issue with WSDL upload from

Issue with WSDL upload from local file system is fixed on the trunk and will be available in next release. Thanks, Krishantha.
amahajan@aligntech.com's picture

Hi - which release

Hi - which release incorporates the fix for this issue? Is it in the development release or the hotfix?
senakafdo's picture

Re: Hi - which release

This will be available as a part of the 3.0.0 release that will be available in a few days. Please feel free to subscribe to the project mailing list for more information. Thanks, Senaka
library project main code
Learn Cloud
Learn
Cloud

The WSO2 Application Server is a reliable application server that can host your enterprise web applications. The WSO2 Application Server as a Service is offered in StratosLive, the WSO2 Platform as a Service. This article explains how a simple web application can be developed and deployed from Carbon Studio to the WSO2 Application Server...

Latest Webinar
Different groups within an organization need to monitor different Key Performance Indicators (KPIs) - An operations team will be interested in the response times of business services and loads of each service,..
Thursday, February 9th 2012, 09.00 AM (PST)

Thursday, February 9th 2012, 10.00 AM (GMT)