Advertisement
Guest User

Untitled

a guest
Feb 6th, 2010
545
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.96 KB | None | 0 0
  1. <jaxws:bindings
  2.    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  3.    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
  4.    wsdlLocation="http://s3.amazonaws.com/ec2-downloads/ec2.wsdl"
  5.    xmlns="http://java.sun.com/xml/ns/jaxws"
  6.    xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
  7.    xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc"
  8.    xmlns:jaxws="http://java.sun.com/xml/ns/jaxws" >
  9.   <enableWrapperStyle>false</enableWrapperStyle>
  10.   <jaxws:bindings  node="wsdl:definitions/wsdl:types/xs:schema[@targetNamespace='http://ec2.amazonaws.com/doc/2009-11-30/']">
  11.     <jaxb:globalBindings jaxb:version="2.0" jaxb:extensionBindingPrefixes="xjc">
  12.         <jaxb:javaType name="java.util.Calendar" xmlType="xs:dateTime"
  13.                      parseMethod="javax.xml.bind.DatatypeConverter.parseDateTime"
  14.                      printMethod="javax.xml.bind.DatatypeConverter.printDateTime"/>
  15.        <xjc:simple/>
  16.     </jaxb:globalBindings>
  17.   </jaxws:bindings>
  18. </jaxws:bindings>
  19.  
  20.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement