fedora.server.utilities
Class RuntimeWSDL

java.lang.Object
  extended by fedora.server.utilities.RuntimeWSDL

public class RuntimeWSDL
extends java.lang.Object

Utility for combining WSDL and XSD into a single file, with a specific service endpoint.

Author:
cwilper@cs.cornell.edu

Constructor Summary
RuntimeWSDL(java.io.File schemaFile, java.io.File sourceWSDL, java.lang.String endpoint)
          Instantiate from the given files and service endpoint URL.
 
Method Summary
static void main(java.lang.String[] args)
          Command-line test.
 void serialize(java.io.Writer out)
          Serialize the final WSDL document to the given writer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuntimeWSDL

public RuntimeWSDL(java.io.File schemaFile,
                   java.io.File sourceWSDL,
                   java.lang.String endpoint)
            throws java.io.IOException
Instantiate from the given files and service endpoint URL.

Throws:
java.io.IOException
Method Detail

serialize

public void serialize(java.io.Writer out)
               throws java.io.IOException
Serialize the final WSDL document to the given writer.

Throws:
java.io.IOException

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Command-line test. Usage: java RuntimeWSDL schemaFile sourceWSDL endpoint

Throws:
java.lang.Exception