Thanks much Freeman that fixed it. I used Stylus Studio and it said that it was valid against the wsdl.xsd. I wish IntelliJ supported WSDL better too. I will use the wsdl2java tool to verify in the future.
Thanks again, Brian Freeman Fang wrote: > > Hi, > > Well, actually your wsdl is not correct, you can use wsdl2java tool > from cxf kit to get the same error. > > Your port part should be > > <wsdl:port > binding="tns:ReceivingAndReturnsBusinessProcessHTTPSOAPBinding" > name="ReceivingAndReturnsBusinessProcessHTTPSOAPBindingOn8 > 092"> > > but not > <wsdl:port binding="ReceivingAndReturnsBusinessProcessHTTPSOAPBinding" > name="ReceivingAndReturnsBusinessProcessHTTPSOAPBindingOn8 > 092"> > > You omit a tns prefxi for binding. > Generally you can use several tools to valid if your wsdl is valid, > I prefer to use wsdl2java shipped with cxf kit, that's very quick. > > Freeman > On 2010-3-23, at 下午9:23, Brian Taylor wrote: > >> >> Thanks Freeman, I must have been getting tired to miss those xbean >> issues. >> >> ServiceMix 3.3.1. >> >> Here's the stack the whole error message: >> >> javax.jbi.management.DeploymentException: Failed to update Service >> Assembly: >> routes-bindings-cxf-bc-sa >> at >> org >> .apache >> .servicemix >> .jbi >> .framework >> .AutoDeploymentService >> .updateServiceAssembly(AutoDeploymentService.java:364) >> at >> org >> .apache >> .servicemix >> .jbi >> .framework >> .AutoDeploymentService.updateArchive(AutoDeploymentService.java:255) >> at >> org >> .apache >> .servicemix >> .jbi >> .framework >> .AutoDeploymentService.monitorDirectory(AutoDeploymentService.java: >> 658) >> at >> org.apache.servicemix.jbi.framework.AutoDeploymentService.access >> $800(AutoDeploymentService.java:63) >> at >> org.apache.servicemix.jbi.framework.AutoDeploymentService >> $1.run(AutoDeploymentService.java:622) >> at java.util.TimerThread.mainLoop(Timer.java:512) >> at java.util.TimerThread.run(Timer.java:462) >> Caused by: java.lang.Exception: <?xml version="1.0" encoding="UTF-8"?> >> <jbi-task version="1.0" >> xmlns="http://java.sun.com/xml/ns/jbi/management-message"> >> <jbi-task-result> >> <frmwk-task-result> >> <frmwk-task-result-details> >> <task-result-details> >> <task-id>deploy</task-id> >> <task-result>FAILED</task-result> >> <message-type>ERROR</message-type> >> </task-result-details> >> </frmwk-task-result-details> >> </frmwk-task-result> >> <component-task-result> >> <component-name>servicemix-cxf-bc</component-name> >> <component-task-result-details> >> <task-result-details> >> <task-id>deploy</task-id> >> <task-result>FAILED</task-result> >> <message-type>ERROR</message-type> >> <task-status-msg> >> <msg-loc-info> >> <loc-token/> >> <loc-message>Unable to parse result string</loc-message> >> </msg-loc-info> >> </task-status-msg> >> <exception-info> >> <nesting-level>1</nesting-level> >> <loc-token/> >> <loc-message>org.apache.cxf.wsdl11.WSDLRuntimeException: >> BINDING_MISSING_TYPE</loc-message> >> <stack-trace><![CDATA[javax.jbi.management.DeploymentException: >> org.apache.cxf.wsdl11.WSDLRuntimeException: BINDING_MISSING_TYPE >> at >> org >> .apache.servicemix.cxfbc.CxfBcConsumer.validate(CxfBcConsumer.java: >> 504) >> at >> org >> .apache >> .servicemix.common.AbstractDeployer.validate(AbstractDeployer.java:58) >> at >> org >> .apache >> .servicemix >> .common.xbean.BaseXBeanDeployer.validate(BaseXBeanDeployer.java:55) >> at >> org >> .apache >> .servicemix >> .common >> .xbean.AbstractXBeanDeployer.deploy(AbstractXBeanDeployer.java:97) >> at >> org >> .apache >> .servicemix >> .common.BaseServiceUnitManager.doDeploy(BaseServiceUnitManager.java: >> 88) >> at >> org >> .apache >> .servicemix >> .common.BaseServiceUnitManager.deploy(BaseServiceUnitManager.java:69) >> at >> org >> .apache >> .servicemix >> .jbi >> .framework >> .DeploymentService.deployServiceAssembly(DeploymentService.java:520) >> at >> org >> .apache >> .servicemix >> .jbi >> .framework >> .AutoDeploymentService >> .updateServiceAssembly(AutoDeploymentService.java:349) >> at >> org >> .apache >> .servicemix >> .jbi >> .framework >> .AutoDeploymentService.updateArchive(AutoDeploymentService.java:255) >> at >> org >> .apache >> .servicemix >> .jbi >> .framework >> .AutoDeploymentService.monitorDirectory(AutoDeploymentService.java: >> 658) >> at >> org.apache.servicemix.jbi.framework.AutoDeploymentService.access >> $800(AutoDeploymentService.java:63) >> at >> org.apache.servicemix.jbi.framework.AutoDeploymentService >> $1.run(AutoDeploymentService.java:622) >> at java.util.TimerThread.mainLoop(Timer.java:512) >> at java.util.TimerThread.run(Timer.java:462) >> Caused by: org.apache.cxf.wsdl11.WSDLRuntimeException: >> BINDING_MISSING_TYPE >> at >> org >> .apache >> .cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java: >> 277) >> at >> org >> .apache >> .cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java: >> 182) >> at >> org >> .apache.cxf.wsdl11.WSDLServiceFactory.create(WSDLServiceFactory.java: >> 120) >> at >> org >> .apache.servicemix.cxfbc.CxfBcConsumer.validate(CxfBcConsumer.java: >> 397) >> ... 13 more >> ]]></stack-trace> >> </exception-info> >> </task-result-details> >> </component-task-result-details> >> </component-task-result> >> </jbi-task-result> >> </jbi-task> >> >> at >> org >> .apache >> .servicemix >> .jbi.framework.ManagementSupport.failure(ManagementSupport.java:125) >> at >> org >> .apache >> .servicemix >> .jbi.framework.ManagementSupport.failure(ManagementSupport.java:111) >> at >> org >> .apache >> .servicemix >> .jbi >> .framework >> .DeploymentService.deployServiceAssembly(DeploymentService.java:555) >> at >> org >> .apache >> .servicemix >> .jbi >> .framework >> .AutoDeploymentService >> .updateServiceAssembly(AutoDeploymentService.java:349) >> ... 6 more >> >> >> Freeman Fang wrote: >>> >>> Hi, >>> >>> What's your smx version? Could you append the stacktrace, which is >>> more helpful. >>> >>> Two obvious error from your xbean.xml I can tell now are >>> 1. targetEndpoint should be a string but not qname, so you need >>> remove >>> st: from it. >>> 2. you didn't declare the prefix st for your spring bean. >>> >>> Freeman >>> On 2010-3-23, at 上午2:52, Brian Taylor wrote: >>> >>>> >>>> Hello, >>>> >>>> What's required to expose an EIP route in the EIP SE with the CXF >>>> BC? I have >>>> created a WSDL and an xbean.xml that sets the target service and >>>> target >>>> endpoint but when deploying I get an error [BINDING_MISSING_TYPE] at >>>> line >>>> 274 in org.apache.cxf.wsdl11.WSDLServiceBuilder. Attached are the >>>> WSDL and >>>> xbean. >>>> >>>> Respectfully, >>>> Brian >>>> >>>> http://old.nabble.com/file/p27990914/xbean.xml xbean.xml >>>> >>>> http://old.nabble.com/file/p27990914/ReceivingAndReturnsBusinessProcessService.wsdl >>>> ReceivingAndReturnsBusinessProcessService.wsdl >>>> -- >>>> View this message in context: >>>> http://old.nabble.com/EIP-SE---CXF-BC-WSDL-tp27990914p27990914.html >>>> Sent from the ServiceMix - User mailing list archive at Nabble.com. >>>> >>> >>> >>> -- >>> Freeman Fang >>> ------------------------ >>> Open Source SOA: http://fusesource.com >>> >>> >>> >> >> -- >> View this message in context: >> http://old.nabble.com/EIP-SE---CXF-BC-WSDL-tp27990914p28000767.html >> Sent from the ServiceMix - User mailing list archive at Nabble.com. >> > > > -- > Freeman Fang > ------------------------ > Open Source SOA: http://fusesource.com > > > -- View this message in context: http://old.nabble.com/EIP-SE---CXF-BC-WSDL-tp27990914p28001964.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
