Package org.xmlsoap.schemas.ws.x2004.x09.mex

Examples of org.xmlsoap.schemas.ws.x2004.x09.mex.MetadataSectionDocument$MetadataSection$Factory


    public MetadataDocument getMetadata(GetMetadataDocument request)
    {               //todo deal with setting Action for responses...
        MetadataConfig metadataConfig = getMetadataConfigFromJNDI();

        //prep the response
        MetadataDocument responseDoc = createMetadataResponseDoc();
        MetadataDocument.Metadata responseMetadata = responseDoc.addNewMetadata();

        //get the values from the request
        GetMetadataDocument.GetMetadata requestMetadata = request.getGetMetadata();
        String dialect = requestMetadata.getDialect();
        String identifier = requestMetadata.getIdentifier();
View Full Code Here


     *
     * @return empty MetadataDocument
     */
    private MetadataDocument createMetadataResponseDoc()
    {
        MetadataDocument metadataDocument = MetadataDocument.Factory.newInstance();
        return metadataDocument;
    }
View Full Code Here

   public MetadataDocument getMetadata( GetMetadataDocument request )
   {
      MetadataConfig metadataConfig = getMetadataConfigFromJNDI(  );

      //prep the response
      MetadataDocument          responseDoc      = createMetadataResponseDoc(  );
      MetadataDocument.Metadata responseMetadata = responseDoc.addNewMetadata(  );

      //get the values from the request
      GetMetadataDocument.GetMetadata requestMetadata = request.getGetMetadata(  );
      String                          dialect    = requestMetadata.getDialect(  );
      String                          identifier = requestMetadata.getIdentifier(  );
View Full Code Here

    *
    * @return empty MetadataDocument
    */
   private MetadataDocument createMetadataResponseDoc(  )
   {
      MetadataDocument metadataDocument = MetadataDocument.Factory.newInstance(  );
      return metadataDocument;
   }
View Full Code Here

   public MetadataDocument getMetadata( GetMetadataDocument request )
   {
      MetadataConfiguration metadataConfig = getResourceContext(  ).getResourceHome(  ).getMetadataConfig(  );

      // prep the response
      MetadataDocument          responseDoc      = createMetadataResponseDoc(  );
      MetadataDocument.Metadata responseMetadata = responseDoc.addNewMetadata(  );

      if ( metadataConfig != null )
      {
         // get the values from the request
         GetMetadataDocument.GetMetadata requestMetadata = request.getGetMetadata(  );
View Full Code Here

      //check for MetadataReference...if its there, we're finished.
      XmlObject             result           = null;
      EndpointReferenceType metadataReferece = metadata.getMetadataReferece(  );
      if ( metadataReferece != null )
      {
         MetadataReferenceDocument metadataReferenceDocument = MetadataReferenceDocument.Factory.newInstance(  );
         metadataReferenceDocument.setMetadataReference( metadataReferece );
         result = metadataReferenceDocument;
      }
      else //use location instead
      {
         String location = metadata.getLocation(  );
View Full Code Here

      //check for MetadataReference...if its there, we're finished.
      XmlObject             result           = null;
      EndpointReferenceType metadataReferece = metadata.getReference(  );
      if ( metadataReferece != null )
      {
         MetadataReferenceDocument metadataReferenceDocument = MetadataReferenceDocument.Factory.newInstance(  );
         metadataReferenceDocument.setMetadataReference( metadataReferece );
         result = metadataReferenceDocument;
      }
      else //use location instead
      {
         String location = metadata.getLocation(  );
View Full Code Here

      return m_metadata;
   }

   private MetadataReferenceDocument createMetadataReferenceDocument( EndpointReferenceType epr )
   {
      MetadataReferenceDocument metadataReferenceDoc = MetadataReferenceDocument.Factory.newInstance(  );
      metadataReferenceDoc.setMetadataReference( epr );
      return metadataReferenceDoc;
   }
View Full Code Here

        if( StringUtils.isNullOrEmpty( optional ) || optional.equals( "false" )
            || ( optional.equals( "true" ) && SoapUI.getSettings().getBoolean( WsaSettings.ENABLE_FOR_OPTIONAL ) ) )
        {
          interfaceWsaVersion = WsaVersionTypeConfig.X_200508.toString();
        }
        Policy innerPolicy = addressing.getPolicy();
        if( innerPolicy != null )
        {
          List<AnonymousResponses> anonymousList = innerPolicy.getAnonymousResponsesList();
          List<NonAnonymousResponses> nonAnonymousList = innerPolicy.getNonAnonymousResponsesList();
          if( anonymousList.size() > 0 && nonAnonymousList.size() > 0 )
          {
            throw new Exception(
                "Wrong addressing policy, anonymousResponses and nonAnonymousResponses can not be specified together" );
          }
View Full Code Here

  // return policy;
  // }
  public static Policy getAttachedPolicy( ElementExtensible item, Definition def )
  {

    Policy rtnPolicy = null;
    String usedPolicyNamespace = PolicyUtils.WS_W3_POLICY_NAMESPACE;
    Element[] policyReferences = WsdlUtils.getExentsibilityElements( item, new QName(
        PolicyUtils.WS_W3_POLICY_NAMESPACE, "PolicyReference" ) );
    if( policyReferences.length <= 0 )
    {
View Full Code Here

TOP

Related Classes of org.xmlsoap.schemas.ws.x2004.x09.mex.MetadataSectionDocument$MetadataSection$Factory

Copyright © 2018 www.massapicom. 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.