3 Replies Latest reply on Nov 13, 2005 4:37 PM by Koen Aers

    Namespace for prefix 'plt' has not been declared

    Koen Aers Master

      Hi everybody...

      For once a question from me here. I am playing with the BPEL extension pack. I am using the 1.0 alpha3 download. While trying to deploy the hello example I get a stacktrace that does not mean much to me (see below). It says that some namespace has not been declared. In the hello.wsdl file I have found this namespace declaration. Does it have to be somewhere else also? Has anybody else encountered this problem? I am feeling like a newbie here ;-))

      Regards,
      Koen


      [deploypar] 15:18:57,379 DEBUG LocalEntityResolver : wsdl.xsd maps to URL: jar:file:/C:/temp/bpel/build/jbpm-bpel-1.0-alpha3.jar!/org/jbpm/bpel/xml/util/wsdl.xsd
      [deploypar] 15:18:57,410 DEBUG LocalEntityResolver : plink_1_1.xsd maps to URL: jar:file:/C:/temp/bpel/build/jbpm-bpel-1.0-alpha3.jar!/org/jbpm/bpel/xml/util/plink_1_1.xsd
      [deploypar] 15:18:57,780 ERROR ProblemCollector : META-INF/bpel-definition.xml Namespace for prefix 'plt' has not been declared.
      [deploypar] 15:18:57,790 ERROR ProblemCollector : META-INF/bpel-definition.xml unable to upgrade wsdl document: hello.wsdl
      [deploypar] javax.xml.transform.TransformerException: java.lang.RuntimeException: Namespace for prefix 'plt' has not been declared.
      [deploypar] at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:647)
      [deploypar] at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:279)
      [deploypar] at org.jbpm.bpel.xml.ImportWsdlLocator.getInputSource(ImportWsdlLocator.java:114)
      [deploypar] at org.jbpm.bpel.xml.ImportWsdlLocator.getBaseInputSource(ImportWsdlLocator.java:77)
      [deploypar] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
      [deploypar] at org.jbpm.bpel.xml.BpelReader.readWsdlDocument(BpelReader.java:337)
      [deploypar] at org.jbpm.bpel.par.DefinitionDescArchiveParser.readDocuments(DefinitionDescArchiveParser.java:67)
      [deploypar] at org.jbpm.bpel.par.DefinitionDescArchiveParser.readFromArchive(DefinitionDescArchiveParser.java:40)
      [deploypar] at org.jbpm.jpdl.par.ProcessArchive.parseProcessDefinition(ProcessArchive.java:46)
      [deploypar] at org.jbpm.graph.def.ProcessDefinition.parseParZipInputStream(ProcessDefinition.java:154)
      [deploypar] at org.jbpm.jpdl.par.ProcessArchiveDeployer.deployZipInputStream(ProcessArchiveDeployer.java:46)
      [deploypar] at org.jbpm.ant.DeployParTask.deploy(DeployParTask.java:69)
      [deploypar] at org.jbpm.ant.DeployParTask.execute(DeployParTask.java:57)
      [deploypar] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
      [deploypar] at org.apache.tools.ant.Task.perform(Task.java:364)
      [deploypar] at org.apache.tools.ant.Target.execute(Target.java:341)
      [deploypar] at org.apache.tools.ant.Target.performTasks(Target.java:369)
      [deploypar] at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
      [deploypar] at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
      [deploypar] at org.apache.tools.ant.Main.runBuild(Main.java:673)
      [deploypar] at org.apache.tools.ant.Main.startAnt(Main.java:188)
      [deploypar] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
      [deploypar] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)