Skip to content

Instantly share code, notes, and snippets.

@nilsmagnus
Created April 28, 2014 06:30
Show Gist options
  • Save nilsmagnus/11363250 to your computer and use it in GitHub Desktop.
Save nilsmagnus/11363250 to your computer and use it in GitHub Desktop.
Wsdl2Java Cxf Binding File to Rename Complextype
<?xml version="1.0" encoding="UTF-8"?>
<jaxws:bindings xmlns:jaxws="http://java.sun.com/xml/ns/jaxws" xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:jxb="http://java.sun.com/xml/ns/jaxb" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<jaxws:bindings node="wsdl:definitions/wsdl:types/xsd:schema[1]">
<jxb:bindings node="//xs:complexType[@name='VatNumber_exception']">
<jxb:class name="VatNumException"/>
</jxb:bindings>
</jaxws:bindings>
</jaxws:bindings>
@MartinezF
Copy link

This helped me a lot, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment