0 Replies Latest reply on Oct 18, 2013 6:41 AM by Sergio_AA

    soa-direct transport interprets null string as empty string

    Sergio_AA

      Hello,

       

      I have a proxy+business to comunicate with SOA project (composite with a simple bpel), i use soa-direct transport to make this route.

      this is my xsd:

           <element name="process">
               <complexType>
                   <sequence>
                       <element name="input" type="string"/>
                   </sequence>
               </complexType>
           </element>
      

       

      And this is my payload:

          <soapenv:Body>
             <emp:process>
                <emp:input>null</emp:input>
             </emp:process>
          </soapenv:Body>
      

       

      When i check the payload in SOA, with audit enabled, i can see:

         <inputVariable>
           <part  name="payload">
            <emp:process>
              <emp:input/>
            </emp:process>
         </part>
       </inputVariable>
      

       

      if i send "Null" instead of "null" or i send "NuLL" then all is correct and i recived the string correctly.