It took a little digging to get the globalbindings setting to work with my
wsdl. The final solution was pretty simple so I thought I would post it here
for others. 

First you need to create an external binding file e.g. bind.xml and add the
following:
<jaxb:bindings xmlns:jaxb="http://java.sun.com/xml/ns/jaxb";
               xmlns:xsd="http://www.w3.org/2001/XMLSchema";
               jaxb:version="2.0">
  <jaxb:bindings >
      <jaxb:globalBindings typesafeEnumMaxMembers="2000"/>
    </jaxb:bindings>
 </jaxb:bindings>

then invoke the wsdl2java with the -b option that points to  your binding
file:
./wsdl2java -verbose -b /home/buzz/binding/custbind.xml
/home/buzz/binding/netsuite.wsdl


-----
Buzzterrier

http://buzzterrier.blogspot.com/ View my blog: Ordinary Average Developer... 
-- 
View this message in context: 
http://www.nabble.com/wsdl2java-no-verbose-output-tp21468012p21491299.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to