Package org.talend.esb.sam._2011._03.common

Examples of org.talend.esb.sam._2011._03.common.OriginatorType


         new SOAPBodyElement( MuseAddressingConstants.REFERENCE_PROP_QNAME_RESOURCE_ID, "4444" );
      prop[0] = propsResourceID;
      MessageElement otherProp = new SOAPBodyElement( new QName( "http://com.xyz/props", "myprop" ),
                                                      "foo" );
      prop[1] = otherProp;
      ReferencePropertiesType props = new ReferencePropertiesType(  );
      props.set_any( prop );
      epr.setReferenceProperties( props );
      request.setConsumerReference( epr );

      // Build the TopicExpressionType for the request.
      TopicExpressionType tet = new TopicExpressionType(  );
View Full Code Here


    * Given an EndpointReferenceType get the resourceID
    */
   public static String getResourceId( EndpointReferenceType subRef )
   {
      String                  id        = "";
      ReferencePropertiesType props     = subRef.getReferenceProperties(  );
      MessageElement[]        propElems = props.get_any(  );

      if ( propElems != null )
      {
         for ( int i = 0; i < propElems.length; i++ )
         {
View Full Code Here

      if ( base_endpoint != null )
      {
         axis_endpoint.setAddress( new AttributedURI( base_endpoint.getAddress(  ).toString(  ) ) );
         axis_endpoint.setPortType( new AttributedQName( base_endpoint.getPortType(  ) ) );
         ReferencePropertiesType                                    axis_ref_props =
            new ReferencePropertiesType(  );
         org.apache.axis.message.addressing.ReferencePropertiesType base_ref_props =
            base_endpoint.getProperties(  );
         axis_ref_props.set_any( base_ref_props.get_any(  ) );
         axis_endpoint.setReferenceProperties( axis_ref_props );
         ServiceNameType                                    axis_service_name = new ServiceNameType(  );
         org.apache.axis.message.addressing.ServiceNameType base_service_name = base_endpoint.getServiceName(  );
         axis_service_name.setPortName( new NCName( base_service_name.getPort(  ) ) );
         axis_service_name.set_value( base_service_name );
View Full Code Here

      axis_endpoint.setAddress( new AttributedURI( end_address ) );
      QName portType = new QName( end_address, "myporttype" );
      axis_endpoint.setPortType( new AttributedQName( portType ) );
      String service_name = "myfoo";
      axis_endpoint.setServiceName( new ServiceNameType( service_name ) );
      ReferencePropertiesType ref_prop = new ReferencePropertiesType(  );

      //ref_prop.set_any();
      axis_endpoint.setReferenceProperties( ref_prop );

      //axis_endpoint.set_any();
View Full Code Here

                    xmlBeanEPR.getPortType(  ).getQNameValue(  ) );
      assertEquals( axisEPR.getServiceName(  ).get_value(  ),
                    xmlBeanEPR.getServiceName(  ).getQNameValue(  ) );
      org.xmlsoap.schemas.ws.x2003.x03.addressing.ReferencePropertiesType xmlBeanRefProps =
         xmlBeanEPR.getReferenceProperties(  );
      ReferencePropertiesType                                             axisRefProps =
         axisEPR.getReferenceProperties(  );

      //MessageElement[] any = referenceProperties.get_any();
      //ref_prop
   }
View Full Code Here

      // rather than a Web Service that implements NotificationConsumer this
      // EPR is somewhat bogus.
      EndpointReferenceType epr = new EndpointReferenceType(  );
      epr.setAddress( new AttributedURI( callback_url ) );
      epr.setPortType( new AttributedQName( "nothing" ) );
      ServiceNameType snt = new ServiceNameType(  );
      snt.setPortName( new NCName( "NotificationConsumer" ) );
      snt.set_value( new QName( "TestNotifConsumer" ) );
      epr.setServiceName( snt );

      // Set a couple of reference properties, including a ResourceID.
      MessageElement[] prop = new MessageElement[2];
      MessageElement   propsResourceID =
View Full Code Here

            new ReferencePropertiesType(  );
         org.apache.axis.message.addressing.ReferencePropertiesType base_ref_props =
            base_endpoint.getProperties(  );
         axis_ref_props.set_any( base_ref_props.get_any(  ) );
         axis_endpoint.setReferenceProperties( axis_ref_props );
         ServiceNameType                                    axis_service_name = new ServiceNameType(  );
         org.apache.axis.message.addressing.ServiceNameType base_service_name = base_endpoint.getServiceName(  );
         axis_service_name.setPortName( new NCName( base_service_name.getPort(  ) ) );
         axis_service_name.set_value( base_service_name );
         axis_endpoint.setServiceName( axis_service_name );
      }

      return axis_endpoint;
   }
View Full Code Here

      String                end_address   = "http://foo";
      axis_endpoint.setAddress( new AttributedURI( end_address ) );
      QName portType = new QName( end_address, "myporttype" );
      axis_endpoint.setPortType( new AttributedQName( portType ) );
      String service_name = "myfoo";
      axis_endpoint.setServiceName( new ServiceNameType( service_name ) );
      ReferencePropertiesType ref_prop = new ReferencePropertiesType(  );

      //ref_prop.set_any();
      axis_endpoint.setReferenceProperties( ref_prop );
View Full Code Here

    private static CustomInfoType convertCustomInfo(Map<String, String> customInfo) {
        if (customInfo == null) {
            return null;
        }

        CustomInfoType ciType = new CustomInfoType();
        for (Entry<String, String> entry : customInfo.entrySet()) {
            CustomInfoType.Item cItem = new CustomInfoType.Item();
            cItem.setKey(entry.getKey());
            cItem.setValue(entry.getValue());
            ciType.getItem().add(cItem);
        }

        return ciType;
    }
View Full Code Here

            origType.setIp("Unknown ip address");
        }
        eventType.setOriginator(origType);

        String path = System.getProperty("karaf.home");
        CustomInfoType ciType = new CustomInfoType();
        CustomInfoType.Item cItem = new CustomInfoType.Item();
        cItem.setKey("path");
        cItem.setValue(path);
        ciType.getItem().add(cItem);
        eventType.setCustomInfo(ciType);

        return eventType;
    }
View Full Code Here

TOP

Related Classes of org.talend.esb.sam._2011._03.common.OriginatorType

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.