Package org.xmlsoap.schemas.ws.x2003.x03.addressing

Examples of org.xmlsoap.schemas.ws.x2003.x03.addressing.EndpointReferenceDocument$Factory


            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(  );
            MessageElement[]        propsArray = subscriptionEPR.getProperties(  ).get_any(  );
View Full Code Here


         endpointReference.addNewReferenceProperties(  );
      org.apache.axis.message.addressing.ReferencePropertiesType          axisPropType =
         endpointRef.getProperties(  );
      SOAPElement[]                                                       anyArray = axisPropType.get_any(  );
      XmlBeansUtils.setEPRReferenceProperties( endpointPropType, anyArray );
      ServiceNameType serviceName = endpointReference.addNewServiceName(  );
      serviceName.setPortName( endpointRef.getServiceName(  ).getLocalPart(  ) );

      return endpointReference;
   }
View Full Code Here

         attributedQName.setQNameValue( m_portTypeQName );
      }

      if ( m_servicePortName != null )
      {
         ServiceNameType serviceNameType = endpointReferenceType.addNewServiceName(  );
         serviceNameType.setPortName( m_servicePortName );
      }

      ReferencePropertiesType refPropsType = endpointReferenceType.addNewReferenceProperties(  );

      if ( m_referenceProps != null )
View Full Code Here

         attributedQName.setQNameValue( m_portTypeQName );
      }

      if ( m_servicePortName != null )
      {
         ServiceNameType serviceNameType = endpointReferenceType.addNewServiceName(  );
         if ( m_serviceQName != null )
         {
            serviceNameType.setQNameValue( m_serviceQName );
         }

         serviceNameType.setPortName( m_servicePortName );
      }

      if ( m_refProps != null )
      {
         ReferencePropertiesType refPropsType = endpointReferenceType.addNewReferenceProperties(  );
View Full Code Here

    private static EndpointReference createEpr(String filesystemUrl)
    {
        XmlBeansEndpointReference epr = null;
        try
        {
            EndpointReferenceDocument eprdoc = (EndpointReferenceDocument) XmlObject.Factory.parse(new URL(filesystemUrl));
            epr = new XmlBeansEndpointReference(eprdoc.getEndpointReference());
        }
        catch (Exception e)
        {
            e.printStackTrace();
        }
View Full Code Here

    * @return DOCUMENT_ME
    */
   public EndpointReferenceType getEprForResource( ResourceKey key,
                                                   String      serviceUrl )
   {
      EndpointReferenceDocument eprDoc  = EndpointReferenceDocument.Factory.newInstance(  );
      EndpointReferenceType     epr     = eprDoc.addNewEndpointReference(  );
      AttributedURI             address = epr.addNewAddress(  );
      address.setStringValue( serviceUrl + "/" +SERVICE_NAME );
      ReferencePropertiesType refProps = epr.addNewReferenceProperties(  );

      XmlObject               xmlObject = XmlBeanUtils.addChildElement( refProps,
View Full Code Here


    public EndpointReferenceType getEprForResource( ResourceKey key,
                                                   String      serviceUrl )
   {
      EndpointReferenceDocument eprDoc  = EndpointReferenceDocument.Factory.newInstance(  );
      EndpointReferenceType     epr     = eprDoc.addNewEndpointReference(  );
      AttributedURI             address = epr.addNewAddress(  );
      address.setStringValue( serviceUrl + "/" +SERVICE_NAME );
      ReferencePropertiesType refProps = epr.addNewReferenceProperties(  );

      XmlObject               xmlObject = XmlBeanUtils.addChildElement( refProps,
View Full Code Here


    public EndpointReferenceType getEprForResource( ResourceKey key,
                                                   String      serviceUrl )
   {
      EndpointReferenceDocument eprDoc  = EndpointReferenceDocument.Factory.newInstance(  );
      EndpointReferenceType     epr     = eprDoc.addNewEndpointReference(  );
      AttributedURI             address = epr.addNewAddress(  );
      address.setStringValue( serviceUrl + "/" +SERVICE_NAME );
      ReferencePropertiesType refProps = epr.addNewReferenceProperties(  );

      XmlObject               xmlObject = XmlBeanUtils.addChildElement( refProps,
View Full Code Here

    * @return DOCUMENT_ME
    */
   public EndpointReferenceType getEprForResource( ResourceKey key,
                                                   String      serviceUrl )
   {
      EndpointReferenceDocument eprDoc  = EndpointReferenceDocument.Factory.newInstance(  );
      EndpointReferenceType     epr     = eprDoc.addNewEndpointReference(  );
      AttributedURI             address = epr.addNewAddress(  );
      address.setStringValue( serviceUrl + "/" +SERVICE_NAME );
      ReferencePropertiesType refProps = epr.addNewReferenceProperties(  );

      XmlObject               xmlObject = XmlBeanUtils.addChildElement( refProps,
View Full Code Here

    private ResourceStub m_resource;

    protected void setUp() throws Exception
    {
        super.setUp();
        EndpointReferenceDocument weatherStationEprDoc = getEndpointReference( new URL( WEATHER_STATION_EPR_URL ) );
        if ( DEBUG ) { System.out.println( "*** Using Weather Station EPR:\n" + weatherStationEprDoc ); }
        m_service = new ServiceStub( new URL( WEATHER_STATION_URL ) );
        m_resource = new ResourceStub( new XmlBeansEndpointReference( weatherStationEprDoc.getEndpointReference() ) );
    }
View Full Code Here

TOP

Related Classes of org.xmlsoap.schemas.ws.x2003.x03.addressing.EndpointReferenceDocument$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.