org.fcrepo.server.utilities
Class RuntimeWSDL

java.lang.Object
  extended by org.fcrepo.server.utilities.RuntimeWSDL

public class RuntimeWSDL
extends Object

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

Author:
Chris Wilper

Constructor Summary
RuntimeWSDL(File schemaFile, File sourceWSDL, String endpoint)
          Instantiate from the given files and service endpoint URL.
 
Method Summary
static void main(String[] args)
          Command-line test.
 void serialize(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(File schemaFile,
                   File sourceWSDL,
                   String endpoint)
            throws IOException
Instantiate from the given files and service endpoint URL.

Throws:
IOException
Method Detail

serialize

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

Throws:
IOException

main

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

Throws:
Exception


Copyright © 2011 DuraSpace. All Rights Reserved.