Examples of AttributedQName


Examples of org.objectweb.celtix.ws.addressing.v200408.AttributedQName

            String namespace = serviceQName.getNamespaceURI() != null
                               ? serviceQName.getNamespaceURI()
                               : Names.WSDL_INSTANCE_NAMESPACE_NAME;
            QName portQName =
                new QName(namespace, portLocalName);
            AttributedQName portType =
                Names200408.WSA_OBJECT_FACTORY.createAttributedQName();
            portType.setValue(portQName);
            exposed.setPortType(portType);
        }
        // no direct analogue for Metadata
        addAll(exposed.getAny(), internal.getAny());
        putAll(exposed.getOtherAttributes(), internal.getOtherAttributes());
View Full Code Here

Examples of org.objectweb.celtix.ws.addressing.v200408.AttributedQName

            ContextUtils.WSA_OBJECT_FACTORY.createEndpointReferenceType();
        internal.setAddress(convert(exposed.getAddress()));
        internal.setReferenceParameters(
                            convert(exposed.getReferenceParameters()));
        ServiceNameType serviceName = exposed.getServiceName();
        AttributedQName portName = exposed.getPortType();
        if (serviceName != null && portName != null) {
            EndpointReferenceUtils.setServiceAndPortName(internal,
                                                  serviceName.getValue(),
                                                  portName.getValue().getLocalPart());
        }

        // no direct analogue for ReferenceProperties
        addAll(internal.getAny(), exposed.getAny());
        putAll(internal.getOtherAttributes(), exposed.getOtherAttributes());
View Full Code Here

Examples of org.opensaml.ws.wsaddressing.AttributedQName

*/
public class AttributedQNameMarshaller extends XSQNameMarshaller {

    /** {@inheritDoc} */
    protected void marshallAttributes(XMLObject xmlObject, Element domElement) throws MarshallingException {
        AttributedQName attributedQName = (AttributedQName) xmlObject;
        XMLHelper.marshallAttributeMap(attributedQName.getUnknownAttributes(), domElement);
    }
View Full Code Here

Examples of org.opensaml.ws.wsaddressing.AttributedQName

*/
public class AttributedQNameUnmarshaller extends XSQNameUnmarshaller {

    /** {@inheritDoc} */
    protected void processAttribute(XMLObject xmlObject, Attr attribute) throws UnmarshallingException {
        AttributedQName attributedQName = (AttributedQName) xmlObject;
        XMLHelper.unmarshallToAttributeMap(attributedQName.getUnknownAttributes(), attribute);
    }
View Full Code Here

Examples of org.opensaml.ws.wsaddressing.AttributedQName

*/
public class AttributedQNameMarshaller extends XSQNameMarshaller {

    /** {@inheritDoc} */
    protected void marshallAttributes(XMLObject xmlObject, Element domElement) throws MarshallingException {
        AttributedQName attributedQName = (AttributedQName) xmlObject;
        XMLHelper.marshallAttributeMap(attributedQName.getUnknownAttributes(), domElement);
    }
View Full Code Here

Examples of org.opensaml.ws.wsaddressing.AttributedQName

*/
public class AttributedQNameUnmarshaller extends XSQNameUnmarshaller {

    /** {@inheritDoc} */
    protected void processAttribute(XMLObject xmlObject, Attr attribute) throws UnmarshallingException {
        AttributedQName attributedQName = (AttributedQName) xmlObject;
        XMLHelper.unmarshallToAttributeMap(attributedQName.getUnknownAttributes(), attribute);
    }
View Full Code Here

Examples of org.xmlsoap.schemas.ws._2003._03.addressing.AttributedQName

            if (endpoints != null && endpoints.length > 0) {
                // lets just return the first
                return endpoints[0];
            }
        }
        AttributedQName portTypeType = consumerReference.getPortType();
        if (portTypeType != null) {
            QName portType = portTypeType.getValue();
            ServiceEndpoint[] endpoints = context.getEndpoints(portType);
            if (endpoints != null && endpoints.length > 0) {
                // lets just return the first
                return endpoints[0];
            }
View Full Code Here

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

        AttributedURI attributedURI = endpointReferenceType.addNewAddress();
        attributedURI.setStringValue(m_address);

        if(m_portTypeQName != null)
        {
        AttributedQName attributedQName = endpointReferenceType.addNewPortType();
        attributedQName.setQNameValue(m_portTypeQName);
        }
        if(m_servicePortName != null)
        {
        ServiceNameType serviceNameType = endpointReferenceType.addNewServiceName();
        serviceNameType.setPortName(m_servicePortName);
View Full Code Here

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

            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(  );
            snt.setQNameValue( QName.valueOf( subscriptionEPR.getServiceName(  ).toString(  ) ) );

            // Setup the resource properties.
            ReferencePropertiesType props      = returnEPR.addNewReferenceProperties(  );
View Full Code Here

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

      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 =
         endpointReference.addNewReferenceProperties(  );
      org.apache.axis.message.addressing.ReferencePropertiesType          axisPropType =
         endpointRef.getProperties(  );
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.