Hello all:

We recently came across an issue where JiBX is dropping a namespace on 
marshalling the request.

In the one instance (on a laptop running WinXP), the marshaller creates this 
request:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
   <soapenv:Header/>
   <soapenv:Body>
      <MedispanSearch xmlns="http://www.acme.com/WebServices/DrugSearchWS";>
         <medispanRequest>
            <ndc>59148001013</ndc>
            <maxRecordsThreshold>300</maxRecordsThreshold>
         </medispanRequest>
      </MedispanSearch>
   </soapenv:Body>
</soapenv:Envelope>

In the next example (running on a Solaris box):

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
   <soapenv:Header/>
   <soapenv:Body>
      <MedispanSearch>
         <medispanRequest>
            <ndc>59148001013</ndc>
            <maxRecordsThreshold>300</maxRecordsThreshold>
         </medispanRequest>
      </MedispanSearch>
   </soapenv:Body>
</soapenv:Envelope>

Notice the dropped namespace on the MedispanSearch.  Both environments are 
running JiBX 1.1.5 and a version of JDK 1.5

Has anyone seen similar behavior?

Perry Hoekstra

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to