Examples of AttributedURI


Examples of org.opensaml.ws.wsaddressing.AttributedURI

*/
public class AttributedURIMarshaller extends AbstractWSAddressingObjectMarshaller {

    /** {@inheritDoc} */
    protected void marshallElementContent(XMLObject xmlObject, Element domElement) throws MarshallingException {
        AttributedURI attributedURI = (AttributedURI) xmlObject;
        XMLHelper.appendTextContent(domElement, attributedURI.getValue());
    }
View Full Code Here

Examples of org.opensaml.ws.wssecurity.AttributedURI

*/
public class AttributedURIMarshaller extends AbstractWSSecurityObjectMarshaller {

    /** {@inheritDoc} */
    protected void marshallAttributes(XMLObject xmlObject, Element domElement) throws MarshallingException {
        AttributedURI attributedURI = (AttributedURI) xmlObject;
       
        if (!DatatypeHelper.isEmpty(attributedURI.getWSUId())) {
            XMLHelper.marshallAttribute(AttributedURI.WSU_ID_ATTR_NAME, attributedURI.getWSUId(), domElement, true);
        }
       
        XMLHelper.marshallAttributeMap(attributedURI.getUnknownAttributes(), domElement);
       
    }
View Full Code Here

Examples of org.servicemix.ws.xmlbeans.addressing.v2003_03.AttributedURI

        SubscribeDocument.Subscribe subscribe = doc.getSubscribe();


        // lets get the endpoint reference
        EndpointReferenceType endpointReference = subscribe.getConsumerReference();
        AttributedURI address = endpointReference.getAddress();
        System.out.println("EndpointReference address is: " + address.getStringValue());

        ReferencePropertiesType referenceProperties = endpointReference.getReferenceProperties();
        System.out.println("Reference properties: " + referenceProperties);

View Full Code Here

Examples of org.wso2.carbon.event.client.stub.generated.addressing.AttributedURI

       
       
    }

    private static AttributedURI createURI(String uriAddress) throws MalformedURIException{
        AttributedURI address = new AttributedURI();
        address.setAnyURI(new URI(uriAddress));
        return address;
    }
View Full Code Here

Examples of org.xmlsoap.schemas.ws._2004._08.addressing.AttributedURI

    public void testCreateAndTerminateSequence() throws Exception {
        CreateSequenceType createArguments = new CreateSequenceType();

        EndpointReferenceType reference = new EndpointReferenceType();
        reference.setAddress(new AttributedURI());
        reference.getAddress().setValue("http://localhost/test/" + getClass().getName() + "/" + getName());
        createArguments.setAcksTo(reference);

        if (specifyExpires) {
            Expires expires = new Expires();
View Full Code Here

Examples of org.xmlsoap.schemas.ws.x2003.x03.addressing.AttributedURI

    */
   public void testBuildingNotificationMessages(  )
   throws Exception
   {
      EndpointReferenceType epr1 = EndpointReferenceType.Factory.newInstance(  );
      AttributedURI         uri = AttributedURI.Factory.newInstance(  );
      uri.setStringValue( "http://consumer" );
      epr1.setAddress( uri );
      EndpointReference       epr           = new XmlBeansEndpointReference( epr1 );
      TopicExpressionDocument topicExprType = null;
      try
      {
View Full Code Here

Examples of org.xmlsoap.schemas.ws.x2003.x03.addressing.AttributedURI


    private EndpointReferenceType build2003_03_EPR()
    {
        EndpointReferenceType endpointReferenceType = EndpointReferenceType.Factory.newInstance();
        AttributedURI attributedURI = endpointReferenceType.addNewAddress();
        attributedURI.setStringValue(m_address);

        if(m_portTypeQName != null)
        {
        AttributedQName attributedQName = endpointReferenceType.addNewPortType();
        attributedQName.setQNameValue(m_portTypeQName);
View Full Code Here

Examples of org.xmlsoap.schemas.ws.x2003.x03.addressing.AttributedURI

                                                            subscription.getSubscriptionId(  ) );

         if ( resource != null )
         {
            EndpointReference subscriptionEPR = resource.getEndpointReference(  );
            AttributedURI     address = returnEPR.addNewAddress(  );
            address.setStringValue( subscriptionEPR.getAddress(  ).toString(  ) );

            // Setup the port type
            AttributedQName portType = returnEPR.addNewPortType(  );
            portType.setQNameValue( QName.valueOf( subscriptionEPR.getPortType(  ).toString(  ) ) );
            ServiceNameType snt = returnEPR.addNewServiceName(  );
View Full Code Here

Examples of org.xmlsoap.schemas.ws.x2003.x03.addressing.AttributedURI

    */
   public static EndpointReferenceType getXLMBeanEPR( org.apache.axis.message.addressing.EndpointReference endpointRef )
   {
      EndpointReferenceType endpointReference = EndpointReferenceType.Factory.newInstance(  );

      AttributedURI         attrURI = endpointReference.addNewAddress(  );
      attrURI.setStringValue( endpointRef.getAddress(  ).toString(  ) );

      AttributedQName attrQname = endpointReference.addNewPortType(  );
      attrQname.setQNameValue( endpointRef.getPortType(  ) );

      org.xmlsoap.schemas.ws.x2003.x03.addressing.ReferencePropertiesType endpointPropType =
View Full Code Here

Examples of org.xmlsoap.schemas.ws.x2003.x03.addressing.AttributedURI

      termination.set( 2099, Calendar.JANUARY, 1 );
      sub.getResourceProps(  ).setTerminationTime( termination );

      // define a mock consumer EPR
      EndpointReferenceType consumer = sub.getResourceProps(  ).getConsumerReference(  );
      AttributedURI         uri = consumer.addNewAddress(  );
      uri.setStringValue( "http://consumer/" + url_num );
      consumer.setAddress( uri );

      return sub;
   }
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.