org.jboss.webservice.deployment
Class WSDDGenerator

java.lang.Object
  extended byorg.jboss.webservice.deployment.WSDDGenerator

public class WSDDGenerator
extends java.lang.Object

Generate the Axis deployment wsdd

Although there is a wsdlFile element in the wsdd it not used by axis to describe the service the only purpose is, to return that file upon the ?WSDL operation

Since:
08-Jun-2004

Constructor Summary
WSDDGenerator(ServiceDescription (src)  service)
          A wsdd generator for a preconfigured ServiceDescription
 
Method Summary
 void appendFooter(java.io.PrintWriter out)
           
 void appendHeader(java.io.PrintWriter out)
           
 void appendOperations(java.io.PrintWriter out)
          Append the operation information, which is taken from the wsdl
 void appendServiceElement(java.io.PrintWriter out, java.lang.String serviceID, java.lang.String provider)
          Append the service element
 void appendTypeMappings(java.io.PrintWriter out)
          Append the typeMapping information, which is taken from the wsdl and jaxrpc-mapping.xml
 void generateDeployment(java.io.PrintWriter out, java.lang.String serviceName, java.lang.String provider)
          Generate the entire WSDD file
static java.lang.String getQNameAttrValue(QName (src)  qname)
           
static void main(java.lang.String[] args)
          WSDDGenerator [wsdl] [jaxrpc-mapping] [portName]
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSDDGenerator

public WSDDGenerator(ServiceDescription (src)  service)
A wsdd generator for a preconfigured ServiceDescription

Method Detail

generateDeployment

public void generateDeployment(java.io.PrintWriter out,
                               java.lang.String serviceName,
                               java.lang.String provider)
Generate the entire WSDD file


appendHeader

public void appendHeader(java.io.PrintWriter out)

appendServiceElement

public void appendServiceElement(java.io.PrintWriter out,
                                 java.lang.String serviceID,
                                 java.lang.String provider)
Append the service element


appendOperations

public void appendOperations(java.io.PrintWriter out)
Append the operation information, which is taken from the wsdl


appendTypeMappings

public void appendTypeMappings(java.io.PrintWriter out)
Append the typeMapping information, which is taken from the wsdl and jaxrpc-mapping.xml


appendFooter

public void appendFooter(java.io.PrintWriter out)

getQNameAttrValue

public static java.lang.String getQNameAttrValue(QName (src)  qname)

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
WSDDGenerator [wsdl] [jaxrpc-mapping] [portName]

Throws:
java.lang.Exception