If the WSDL set in JBI descriptor is not found (distant WSDL), the following exception occurs and the SU is corrupted (state UNKNOWN).
Replace it by a human readable message.
Following the exception stack trace:
[Petals.Container.Components.petals-bc-soap]-INFO 2010-07-26 11:04:55,435 Deploy Service Unit 'su-SOAP-MultiplyService1-provide'
[Petals.Container.Components.petals-bc-soap]-FINE 2010-07-26 11:04:55,440 Register a data handler for SU 'su-SOAP-MultiplyService1-provide'
[Fatal Error] MultiplyService1?wsdl:1:190: The element type "body" must be terminated by the matching end-tag "</body>".
[Petals.Container.Components.petals-bc-soap]-FINE 2010-07-26 11:04:55,444 Unregister the data handler for SU : su-SOAP-MultiplyService1-provide
[Petals.Container.Components.petals-bc-soap]-SEVERE 2010-07-26 11:04:55,444 Service Unit 'su-SOAP-MultiplyService1-provide' failed to deploy
org.ow2.petals.component.framework.api.exception.PEtALSCDKException: org.ow2.easywsdl.extensions.wsdl4complexwsdl.api.WSDL4ComplexWsdlException: org.ow2.easywsdl.schema.api.XmlException: SchemaException: org.xml.sax.SAXParseException: The element type "body" must be terminated by the matching end-tag "</body>".: org.xml.sax.SAXParseException: The element type "body" must be terminated by the matching end-tag "</body>".
at org.ow2.petals.component.framework.su.AbstractServiceUnitManager.getWsdlDescription(AbstractServiceUnitManager.java:136)
at org.ow2.petals.component.framework.su.AbstractServiceUnitManager.processProvidesNode(AbstractServiceUnitManager.java:871)
at org.ow2.petals.component.framework.su.AbstractServiceUnitManager.processProvidesNodes(AbstractServiceUnitManager.java:955)
at org.ow2.petals.component.framework.su.AbstractServiceUnitManager.deploy(AbstractServiceUnitManager.java:283)
at org.ow2.petals.jbi.management.task.deployment.deploy.DeploySUToComponentTask.deploySUtoComponent(DeploySUToComponentTask.java:112)
at org.ow2.petals.jbi.management.task.deployment.deploy.DeploySUToComponentTask.execute(DeploySUToComponentTask.java:65)
at org.ow2.petals.jbi.management.TaskProcessor.process(TaskProcessor.java:78)
at org.ow2.petals.jbi.management.task.deployment.deploy.DeployAllSUTask.registerAndDeploySU(DeployAllSUTask.java:166)
at org.ow2.petals.jbi.management.task.deployment.deploy.DeployAllSUTask.deploySUS(DeployAllSUTask.java:122)
at org.ow2.petals.jbi.management.task.deployment.deploy.DeployAllSUTask.execute(DeployAllSUTask.java:80)
at org.ow2.petals.jbi.management.TaskProcessor.process(TaskProcessor.java:78)
at org.ow2.petals.jbi.management.deployment.DeploymentServiceImpl.deploy(DeploymentServiceImpl.java:185)
at org.objectweb.fractal.julia.generated.C7949fad8_0.deploy(INTERCEPTOR[DeploymentServiceMBean])
at org.objectweb.fractal.julia.generated.C7566203_0.deploy(INTERFACE[DeploymentServiceMBean])
at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.performDeploySA(AutoLoaderServiceImpl.java:442)
at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.install(AutoLoaderServiceImpl.java:169)
at org.ow2.petals.jbi.management.autoload.InstallDirectoryScanner.run(InstallDirectoryScanner.java:81)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Caused by: org.ow2.easywsdl.extensions.wsdl4complexwsdl.api.WSDL4ComplexWsdlException: org.ow2.easywsdl.schema.api.XmlException: SchemaException: org.xml.sax.SAXParseException: The element type "body" must be terminated by the matching end-tag "</body>".: org.xml.sax.SAXParseException: The element type "body" must be terminated by the matching end-tag "</body>".
at org.ow2.easywsdl.extensions.wsdl4complexwsdl.impl.inout.WSDL4ComplexWsdlReaderImpl.read(WSDL4ComplexWsdlReaderImpl.java:192)
at org.ow2.easywsdl.extensions.wsdl4complexwsdl.impl.inout.WSDL4ComplexWsdlReaderImpl.read(WSDL4ComplexWsdlReaderImpl.java:116)
at org.ow2.petals.component.framework.util.WSDLUtilImpl.createWsdlDescription(WSDLUtilImpl.java:207)
at org.ow2.petals.component.framework.su.AbstractServiceUnitManager.getWsdlDescription(AbstractServiceUnitManager.java:134)
... 18 more
Caused by: org.ow2.easywsdl.schema.api.XmlException: SchemaException: org.xml.sax.SAXParseException: The element type "body" must be terminated by the matching end-tag "</body>".: org.xml.sax.SAXParseException: The element type "body" must be terminated by the matching end-tag "</body>".
at org.ow2.easywsdl.schema.util.SourceHelper.convertInputSource2DOMSource(SourceHelper.java:107)
at org.ow2.easywsdl.extensions.wsdl4complexwsdl.impl.inout.WSDL4ComplexWsdlReaderImpl.read(WSDL4ComplexWsdlReaderImpl.java:144)
... 21 more
Caused by: org.xml.sax.SAXParseException: The element type "body" must be terminated by the matching end-tag "</body>".
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:249)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284)
at org.ow2.easywsdl.schema.util.SourceHelper.convertInputSource2DOMSource(SourceHelper.java:102)
... 22 more
[Petals.JBI-Management.DeploymentServiceImpl]-WARNING 2010-07-26 11:04:55,445 A component Service Unit Manager failed to deploy a Service Unit :
<component-task-result>
<component-name>petals-bc-soap</component-name>
<component-task-result-details xmlns='http://java.sun.com/xml/ns/jbi/management-message'>
<task-result-details>
<task-id>deploy</task-id>
<task-result>FAILED</task-result>
<message-type>ERROR</message-type>
<exception-info>
<nesting-level>1</nesting-level>
<msg-loc-info>
<loc-token>jbimsg</loc-token>
<loc-message>Failed to deploy Service Unit : {1}</loc-message>
<loc-param>su-SOAP-MultiplyService1-provide</loc-param>
</msg-loc-info>
<stack-trace>org.ow2.easywsdl.extensions.wsdl4complexwsdl.api.WSDL4ComplexWsdlException: org.ow2.easywsdl.schema.api.XmlException: SchemaException: org.xml.sax.SAXParseException: The element type "body" must be terminated by the matching end-tag "</body>".: org.xml.sax.SAXParseException: The element type "body" must be terminated by the matching end-tag "</body>".
Caused by: org.ow2.easywsdl.schema.api.XmlException: SchemaException: org.xml.sax.SAXParseException: The element type "body" must be terminated by the matching end-tag "</body>".: org.xml.sax.SAXParseException: The element type "body" must be terminated by the matching end-tag "</body>".
Caused by: SchemaException: org.xml.sax.SAXParseException: The element type "body" must be terminated by the matching end-tag "</body>".: org.xml.sax.SAXParseException: The element type "body" must be terminated by the matching end-tag "</body>".
Caused by: The element type "body" must be terminated by the matching end-tag "</body>".</stack-trace>
</exception-info>
</task-result-details>
</component-task-result-details>
</component-task-result>
[Petals.JBI-Management.DeploymentServiceImpl]-SEVERE 2010-07-26 11:04:55,476 Unable to deploy the service assembly at 'file:/home/noddoux/petals-platform-3.0.5/install/sa-SOAP-MultiplyService1-provide.zip'
javax.jbi.management.DeploymentException: The deployment of the Service Assembly 'file:/home/noddoux/petals-platform-3.0.5/install/sa-SOAP-MultiplyService1-provide.zip' failed.
at org.ow2.petals.jbi.management.deployment.DeploymentServiceImpl.deploy(DeploymentServiceImpl.java:189)
at org.objectweb.fractal.julia.generated.C7949fad8_0.deploy(INTERCEPTOR[DeploymentServiceMBean])
at org.objectweb.fractal.julia.generated.C7566203_0.deploy(INTERFACE[DeploymentServiceMBean])
at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.performDeploySA(AutoLoaderServiceImpl.java:442)
at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.install(AutoLoaderServiceImpl.java:169)
at org.ow2.petals.jbi.management.autoload.InstallDirectoryScanner.run(InstallDirectoryScanner.java:81)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Caused by: javax.jbi.management.DeploymentException: All the Service Unit deployment has failed
at org.ow2.petals.jbi.management.task.deployment.deploy.DeployAllSUTask.execute(DeployAllSUTask.java:83)
at org.ow2.petals.jbi.management.TaskProcessor.process(TaskProcessor.java:78)
at org.ow2.petals.jbi.management.deployment.DeploymentServiceImpl.deploy(DeploymentServiceImpl.java:185)
... 7 more
[Petals.AutoLoaderServiceImpl]-SEVERE 2010-07-26 11:04:55,476 Error during the deployment of a service assembly:
java.lang.Exception: The deployment of the Service Assembly 'file:/home/noddoux/petals-platform-3.0.5/install/sa-SOAP-MultiplyService1-provide.zip' failed.
Caused by: All the Service Unit deployment has failed
at org.ow2.petals.jbi.management.deployment.DeploymentServiceImpl.deploy(DeploymentServiceImpl.java:205)
at org.objectweb.fractal.julia.generated.C7949fad8_0.deploy(INTERCEPTOR[DeploymentServiceMBean])
at org.objectweb.fractal.julia.generated.C7566203_0.deploy(INTERFACE[DeploymentServiceMBean])
at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.performDeploySA(AutoLoaderServiceImpl.java:442)
at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.install(AutoLoaderServiceImpl.java:169)
at org.ow2.petals.jbi.management.autoload.InstallDirectoryScanner.run(InstallDirectoryScanner.java:81)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)