Did you ensure that your xml can be validated with the needed xsd schema ?
You could also use a bpel designer to help, like
http://download.eclipse.org/technology/bpel/update-site/
(though i han't tried it yet)

Cheers,
Guillaume Nodet

On 6/22/06, helloworld <[EMAIL PROTECTED]> wrote:


The Parser problem is sitll there, but I think I see part of my
problem.  I
believe my last assignment statement was incorrect.  I believe the correct
assignment statement to be:

<bpws:assign>
  <bpws:copy>


<bpws:from><ns2:ConnectResponse><ns2:output>"initialized"</ns2:output></ns2:ConnectResponse></bpws:from>
    <bpws:to variable="ConnectResponse" part="ConnectResponse"/>
  </bpws:copy>
</bpws:assign>


Unfortunately, I still get the SAXException:


Retrieving document at 'connection'.
Jun 22, 2006 3:02:14 PM org.apache.ode.bpe.util.BPException log
SEVERE: Native Exception: SAXException. Native Message: null
org.apache.ode.bpe.deployment.bpel.DeploymentException: Native Exception:
SAXException. Native Message: null
        at
org.apache.ode.bpe.deployment.bpel.BPELParser.parseBPEL(BPELParser.java
:107)
        at
org.apache.ode.bpe.deployment.bpel.BPELDeploy.deployJar(BPELDeploy.java
:177)
        at
org.apache.ode.bpe.bped.unmanaged.BPELDeployerSLImpl.loadDefinition(
BPELDeployerSLImpl.java:78)
        at org.apache.servicemix.bpe.BPEDeployer.deploy(BPEDeployer.java
:82)
        at
org.apache.servicemix.common.BaseServiceUnitManager.doDeploy(
BaseServiceUnitManager.java:87)
        at
org.apache.servicemix.common.BaseServiceUnitManager.deploy(
BaseServiceUnitManager.java:68)
        at

org.apache.servicemix.jbi.framework.DeploymentService.deployServiceAssembly
(DeploymentService.java:526)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(
AutoDeploymentService.java:257)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService$2.run(
AutoDeploymentService.java:507)
        at
org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java
:291)
        at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NullPointerException
        at
org.apache.ode.bpe.deployment.bpel.BPELSAXHandler.endElement(
BPELSAXHandler.java:151)
        at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
Source)
        at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown
Source)
        at

org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch
(Unknown
Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
        at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse
(Unknown
Source)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
        at
org.apache.ode.bpe.deployment.bpel.BPELParser.parseBPEL(BPELParser.java
:95)
        ... 11 more
[Fatal Error] :1:1: Content is not allowed in prolog.

Is this the correct way to assign a literal?

Thank you,
HelloWorld
--
View this message in context:
http://www.nabble.com/BPEL%3A-How-to-assign-a-literal-t1829382.html#a4992807
Sent from the ServiceMix - User forum at Nabble.com.


Reply via email to