Class WsdlRetriever

  • All Implemented Interfaces:

    
    public class WsdlRetriever
    
                        

    Utility to retrieve and handle WSDLs.

    Three methods of retrieval are supported:

    • wsx:Location entries can retrieved via org.somda.sdc.dpws.http.HttpClient
    • WSDLs embedded in wsx:MetadataSection elements can be extracted
    • WSDLs to be requested via wsx:MetadataReference can be requested via transfer get
    WSDLs embedded in wsx:MetadataReference entries are currently unsupported.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Map<String, List<String>> retrieveWsdls(HostingServiceProxy hostingServiceProxy) Retrieves all WSDLs of the Provider the client is connected to.
      List<String> retrieveWsdlFromMetadata(Metadata metadata) Retrieves the WSDLs referenced or embedded in the provided metadata.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • retrieveWsdls

         Map<String, List<String>> retrieveWsdls(HostingServiceProxy hostingServiceProxy)

        Retrieves all WSDLs of the Provider the client is connected to.

        Parameters:
        hostingServiceProxy - to retrieve WSDLs from
        Returns:

        map with hosted service name as key and all associated WSDLs as values

      • retrieveWsdlFromMetadata

         List<String> retrieveWsdlFromMetadata(Metadata metadata)

        Retrieves the WSDLs referenced or embedded in the provided metadata.

        Parameters:
        metadata - to extract WSDLs from
        Returns:

        all WSDLs found within the given metadata