Hi Javier,

This looks like rpc/enc SOAP, which is pretty much deprecated these days 
and not supported by the newer frameworks.

That said, if you really need to work with this you can add the 
attributes directly in your binding, using this type of approach:

  <namespace uri="http://www.w3.org/2001/XMLSchema-instance"; prefix="xsi"/>
  <namespace uri="http://www.w3.org/2001/XMLSchema"; prefix="xsd"/>
  ...
  <mapping ...>
    <structure name="departureDate">
      <value name="type" ns="http://www.w3.org/2001/XMLSchema-instance"; 
style="attribute" constant="xsd:dateTime"/>
      <value field="departureDate" style="text"/>
    </structure>

  - Dennis

Dennis M. Sosnoski
SOA and Web Services in Java
Training and Consulting
http://www.sosnoski.com - http://www.sosnoski.co.nz
Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117



Javier Diaz wrote:
> Hi all
>
> Does anyone knows what need to be done in the binding to get the marshal
> to build a xml like the one below
>
> ......
> <departureDate
> xsi:type="xsd:dateTime">2005-06-14T22:00:00Z</departureDate>
> <origin xsi:type="xsd:string">SLC</origin>
> <destination xsi:type="xsd:string">DEN</destination>
> <daysOut xsi:type="xsd:int">0</daysOut>
> <numberFares xsi:type="xsd:int">3</numberFares>
> <numberPassengers xsi:type="xsd:int">1</numberPassengers>
> .....
>
> Basically this is a snippet of a Soap message we need to send to a
> client which requires the xml type included for each element in the
> message.
>
> Thanks a lot for your help 
>
> Javier
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> jibx-users mailing list
> jibx-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jibx-users
>
>   

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to