Skip to content

Instantly share code, notes, and snippets.

@phoet
Created April 29, 2010 10:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phoet/383409 to your computer and use it in GitHub Desktop.
Save phoet/383409 to your computer and use it in GitHub Desktop.
jaxws definitions that work
<jaxws:bindings version="2.1" wsdlLocation="service.wsdl"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns="http://java.sun.com/xml/ns/jaxws" xmlns:jaxws="http://java.sun.com/xml/ns/jaxws"
xmlns:jxb="http://java.sun.com/xml/ns/jaxb">
<enableWrapperStyle>false</enableWrapperStyle>
<jaxws:bindings
node="wsdl:definitions/wsdl:types/xsd:schema[@targetNamespace='http://authentication.integration.crowd.atlassian.com']">
<jxb:globalBindings generateElementProperty="false">
<jxb:javaType
name="java.util.Date"
xmlType="xsd:dateTime"
parseMethod="org.apache.cxf.tools.common.DataTypeAdapter.parseDateTime"
printMethod="org.apache.cxf.tools.common.DataTypeAdapter.printDateTime" />
</jxb:globalBindings>
</jaxws:bindings>
</jaxws:bindings>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment