Horia What platform/JDK are you running this on. I'm surprised because you are getting: com.ibm.wsdl.xml.WSDLReaderImpl
The system should be picking up the default WSDL4J from Apache instead. Paul On Tue, Dec 2, 2008 at 10:14 PM, Horia Balog <[EMAIL PROTECTED]> wrote: > Hi, trying to run the Proxy sample (sample 150), I get an error when trying > to run Synapse with the sample 150 config. > Logs are: > ... > 2008-12-02 16:47:47,595 [172.23.63.79-L001434] [WrapperSimpleAppMain] INFO > Prox > yService Building Axis service for Proxy service : StockQuoteProxy > [Fatal Error] sample_proxy_1.wsdl:76:153: The prefix "wsaw" for attribute > "wsaw: > Action" associated with an element type "wsdl:output" is not bound. > 2008-12-02 16:47:47,986 [172.23.63.79-L001434] [WrapperSimpleAppMain] ERROR > WSDL > 11ToAxisServiceBuilder WSDLException: faultCode=PARSER_ERROR: Problem parsing > 'f > ile:repository/conf/sample/resources/proxy/sample_proxy_1.wsdl'.: > org.xml.sax.SA > XParseException: The prefix "wsaw" for attribute "wsaw:Action" associated > with a > n element type "wsdl:output" is not bound. > javax.wsdl.WSDLException: WSDLException: faultCode=PARSER_ERROR: Problem > parsing > 'file:repository/conf/sample/resources/proxy/sample_proxy_1.wsdl'.: > org.xml.sax > .SAXParseException: The prefix "wsaw" for attribute "wsaw:Action" associated > wit > h an element type "wsdl:output" is not bound. > at com.ibm.wsdl.xml.WSDLReaderImpl.getDocument(Unknown Source) > at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) > at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) > at > org.apache.axis2.description.WSDL11ToAxisServiceBuilder.readInTheWSDL > File(WSDL11ToAxisServiceBuilder.java:2141) > at > org.apache.axis2.description.WSDL11ToAxisServiceBuilder.setup(WSDL11T > oAxisServiceBuilder.java:799) > at > org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateServi > ce(WSDL11ToAxisServiceBuilder.java:308) > at > org.apache.synapse.core.axis2.ProxyService.buildAxisService(ProxyServ > ice.java:349) > at > org.apache.synapse.core.axis2.SynapseInitializationModule.init(Synaps > eInitializationModule.java:134) > at > org.apache.axis2.context.ConfigurationContextFactory.initModules(Conf > igurationContextFactory.java:226) > at > org.apache.axis2.context.ConfigurationContextFactory.init(Configurati > onContextFactory.java:204) > at > org.apache.axis2.context.ConfigurationContextFactory.createConfigurat > ionContext(ConfigurationContextFactory.java:80) > at > org.apache.axis2.context.ConfigurationContextFactory.createConfigurat > ionContextFromFileSystem(ConfigurationContextFactory.java:184) > at org.apache.synapse.ServerManager.start(ServerManager.java:106) > at org.apache.synapse.SynapseServer.main(SynapseServer.java:81) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. > java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > sorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at > org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java > :240) > at java.lang.Thread.run(Thread.java:595) > Caused by: org.xml.sax.SAXParseException: The prefix "wsaw" for attribute > "wsaw: > Action" associated with an element type "wsdl:output" is not bound. > ... > > It seems that the sample_proxy_1.wsdl in > <synapse-home>/repository\conf\sample\resources\proxy fails validation > against http://www.w3.org/2006/05/addressing/wsdl > Can you help?!? > > Thanks, > Horia Balog > > > > > -- Paul Fremantle Co-Founder and CTO, WSO2 Apache Synapse PMC Chair OASIS WS-RX TC Co-chair blog: http://pzf.fremantle.org [EMAIL PROTECTED] "Oxygenating the Web Service Platform", www.wso2.com
