Examples of MetadataReference


Examples of com.sun.xml.ws.mex.client.schema.MetadataReference

     * If the metadata section contains a metadata reference,
     * retrieve the new metadata and add it to the lists. This
     * method recursively calls the the populateLists method.
     */
    private void handleReference(final MetadataSection section) {
        final MetadataReference ref = section.getMetadataReference();
        populateLists(new MetadataClient().retrieveMetadata(ref));
    }
View Full Code Here

Examples of org.apache.axis2.mex.om.MetadataReference

        try {
            Metadata metadata = new Metadata();
            metadata.fromOM(mex.getFirstElement());
           
            MetadataSection[] metadataSections = metadata.getMetadatSections();
            MetadataReference reference = metadataSections[0].getMetadataReference();
           
            MexClient serviceClient = new MexClient();

            Options options = serviceClient.getOptions();
            options.setTo(reference.getEPR());
            options.setAction(DRConstants.SPEC.Actions.GET_METADATA_REQUEST);
           
            OMElement request = serviceClient.setupGetMetadataRequest(
                                                        MexConstants.SPEC.DIALECT_TYPE_POLICY,null);
            OMElement result = serviceClient.sendReceive(request);
View Full Code Here

Examples of org.apache.axis2.mex.om.MetadataReference

        try {
            Metadata metadata = new Metadata();
            metadata.fromOM(mex.getFirstElement());
           
            MetadataSection[] metadataSections = metadata.getMetadatSections();
            MetadataReference reference = metadataSections[0].getMetadataReference();
           
            MexClient serviceClient = new MexClient();

            Options options = serviceClient.getOptions();
            options.setTo(reference.getEPR());
            options.setAction(DRConstants.SPEC.Actions.GET_METADATA_REQUEST);
           
            OMElement request = serviceClient.setupGetMetadataRequest(
                                                        MexConstants.SPEC.DIALECT_TYPE_POLICY,null);
            OMElement result = serviceClient.sendReceive(request);
View Full Code Here

Examples of org.apache.axis2.mex.om.MetadataReference

      section.setinlineData(result);
    else if (outputForm == OutputForm.LOCATION_FORM)
      section.setLocation(new Location(factory, mexNamespaceValue,
          (String) result));
    else if (outputForm == OutputForm.REFERENCE_FORM) {
      MetadataReference ref = new MetadataReference(factory,
          mexNamespaceValue);
     
      ref.setEPR((OMElement) result);
      section.setMetadataReference(ref);
    } else {

      section.setinlineData((OMElement) result);
    }
View Full Code Here

Examples of org.apache.axis2.mex.om.MetadataReference

        try {
            Metadata metadata = new Metadata();
            metadata.fromOM(mex.getFirstElement());
           
            MetadataSection[] metadataSections = metadata.getMetadatSections();
            MetadataReference reference = metadataSections[0].getMetadataReference();
           
            MexClient serviceClient = new MexClient();

            Options options = serviceClient.getOptions();
            options.setTo(reference.getEPR());
            options.setAction(DRConstants.SPEC.Actions.GET_METADATA_REQUEST);
           
            OMElement request = serviceClient.setupGetMetadataRequest(
                                                        MexConstants.SPEC.DIALECT_TYPE_POLICY,null);
            OMElement result = serviceClient.sendReceive(request);
View Full Code Here

Examples of org.apache.axis2.mex.om.MetadataReference

        try {
            Metadata metadata = new Metadata();
            metadata.fromOM(mex.getFirstElement());
           
            MetadataSection[] metadataSections = metadata.getMetadatSections();
            MetadataReference reference = metadataSections[0].getMetadataReference();
           
            MexClient serviceClient = new MexClient();

            Options options = serviceClient.getOptions();
            options.setTo(reference.getEPR());
            options.setAction(DRConstants.SPEC.Actions.GET_METADATA_REQUEST);
           
            OMElement request = serviceClient.setupGetMetadataRequest(
                                                        MexConstants.SPEC.DIALECT_TYPE_POLICY,null);
            OMElement result = serviceClient.sendReceive(request);
View Full Code Here

Examples of org.apache.axis2.mex.om.MetadataReference

      section.setinlineData(result);
    else if (outputForm == OutputForm.LOCATION_FORM)
      section.setLocation(new Location(factory, mexNamespaceValue,
          (String) result));
    else if (outputForm == OutputForm.REFERENCE_FORM) {
      MetadataReference ref = new MetadataReference(factory,
          mexNamespaceValue);
     
      ref.setEPR((OMElement) result);
      section.setMetadataReference(ref);
    } else {

      section.setinlineData((OMElement) result);
    }
View Full Code Here

Examples of org.apache.axis2.mex.om.MetadataReference

        try {
            Metadata metadata = new Metadata();
            metadata.fromOM(mex.getFirstElement());
           
            MetadataSection[] metadataSections = metadata.getMetadatSections();
            MetadataReference reference = metadataSections[0].getMetadataReference();
           
            MexClient serviceClient = new MexClient();

            Options options = serviceClient.getOptions();
            options.setTo(reference.getEPR());
            options.setAction(DRConstants.SPEC.Actions.GET_METADATA_REQUEST);
           
            OMElement request = serviceClient.setupGetMetadataRequest(
                                                        MexConstants.SPEC.DIALECT_TYPE_POLICY,null);
            OMElement result = serviceClient.sendReceive(request);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.