it.imolinfo.jbi4ejb.jbi.wsdl
Class Jbi4EjbSOAPExtensionsUtils

java.lang.Object
  extended by it.imolinfo.jbi4ejb.jbi.wsdl.Jbi4EjbSOAPExtensionsUtils

public final class Jbi4EjbSOAPExtensionsUtils
extends java.lang.Object

Utility class to add the SOAP extensions (needed by xfire to correctly generate the sources).

Author:
Marco Piraccinis

Method Summary
static void addSoapElements(javax.wsdl.Definition def)
          Adds SOAP elements to the specified WSDL if they are not present.
static java.io.File addSoapElements(java.io.File wsdl)
          Creates a wsdl file, adding the SOAP extension elements.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addSoapElements

public static java.io.File addSoapElements(java.io.File wsdl)
                                    throws EJBDeployException
Creates a wsdl file, adding the SOAP extension elements.

Parameters:
wsdl - the wsdl file
Returns:
the file
Throws:
EJBDeployException - if some problem occurs

addSoapElements

public static void addSoapElements(javax.wsdl.Definition def)
                            throws javax.wsdl.WSDLException
Adds SOAP elements to the specified WSDL if they are not present.

Parameters:
def - the WSDL to add SOAP elements. Must be not null.
Throws:
javax.wsdl.WSDLException - in case of error manipulating the Definition.


Copyright © 2007-2008 Imola Informatica. All Rights Reserved.