title: BPEL eclipse "assign" initialize
body: <p>I have been working on eclipse for WS-BPEL processes. In a basic helloworld.bpel process, an <code>assign</code> block (which is between <code>receiveInput</code> and <code>replyOutput</code> blocks)requires input and output validation. But once I set input variable to input->payload->input and output to output->payload->result, I get this error</p>
  
  <blockquote>
    <p>eObject cannot be null in <code>getNamespaceMap()</code></p>
  </blockquote>
  
  <p>Can anyone tell what this means and how I can deal with it?</p>
  
  <p>Thanks</p>
  
  <pre><code>&lt;!-- helloworld BPEL Process [Generated by the Eclipse BPEL Designer] --&gt;
  &lt;bpel:process name="helloworld"
       targetNamespace="http://helloworld"
       suppressJoinFailure="yes"
       xmlns:tns="http://helloworld"
       xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
       expressionLanguage="http://www.w3.org/TR/1999/REC-xpath-19991116"&gt;
  
  &lt;!-- Import the client WSDL --&gt;
  &lt;bpel:import location="helloworldArtifacts.wsdl" namespace="http://helloworld" 
          importType="http://schemas.xmlsoap.org/wsdl/" /&gt;
  
  &lt;!-- ================================================================= --&gt;         
  &lt;!-- PARTNERLINKS                                                      --&gt;
  &lt;!-- List of services participating in this BPEL process               --&gt;
  &lt;!-- ================================================================= --&gt;         
  &lt;bpel:partnerLinks&gt;
      &lt;!-- The 'client' role represents the requester of this service. --&gt;
      &lt;bpel:partnerLink name="client"
                   partnerLinkType="tns:helloworld"
                   myRole="helloworldProvider"
                   /&gt;
  &lt;/bpel:partnerLinks&gt;
  
  &lt;!-- ================================================================= --&gt;         
  &lt;!-- VARIABLES                                                         --&gt;
  &lt;!-- List of messages and XML documents used within this BPEL process  --&gt;
  &lt;!-- ================================================================= --&gt;         
  &lt;bpel:variables&gt;
      &lt;!-- Reference to the message passed as input during initiation --&gt;
      &lt;bpel:variable name="input"
                messageType="tns:helloworldRequestMessage"/&gt;
  
      &lt;!-- 
        Reference to the message that will be returned to the requester
        --&gt;
      &lt;bpel:variable name="output"
                messageType="tns:helloworldResponseMessage"/&gt;
  &lt;/bpel:variables&gt;
  
  &lt;!-- ================================================================= --&gt;         
  &lt;!-- ORCHESTRATION LOGIC                                               --&gt;
  &lt;!-- Set of activities coordinating the flow of messages across the    --&gt;
  &lt;!-- services integrated within this business process                  --&gt;
  &lt;!-- ================================================================= --&gt;         
  &lt;bpel:sequence name="main"&gt;
  
      &lt;!-- Receive input from requester. 
           Note: This maps to operation defined in helloworld.wsdl 
           --&gt;
      &lt;bpel:receive name="receiveInput" partnerLink="client"
               portType="tns:helloworld"
               operation="process" variable="input"
               createInstance="yes"/&gt;
  
      &lt;!-- Generate reply to synchronous request --&gt;
  
  
  
      &lt;bpel:assign validate="no" name="Assign"&gt;
  
  
          &lt;bpel:copy&gt;
              &lt;bpel:from part="payload" variable="input"&gt;
                  &lt;bpel:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"&gt;
                      &lt;![CDATA[tns:input]]&gt;
                  &lt;/bpel:query&gt;
              &lt;/bpel:from&gt;
              &lt;bpel:to part="payload" variable="output"&gt;
                  &lt;bpel:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"&gt;
                      &lt;![CDATA[tns:result]]&gt;
                  &lt;/bpel:query&gt;
              &lt;/bpel:to&gt;
          &lt;/bpel:copy&gt;
      &lt;/bpel:assign&gt;
      &lt;bpel:reply name="replyOutput" 
             partnerLink="client"
             portType="tns:helloworld"
             operation="process" 
             variable="output"
             /&gt;
  &lt;/bpel:sequence&gt;
  </code></pre>
  
  <p></p>