Package org.wsI.testing.x2003.x03.log

Examples of org.wsI.testing.x2003.x03.log.Log


        XmlObject[] childElems = XmlBeanUtils.getChildElements( m_propsDoc, elemName );
        assertEquals( 2, childElems.length );
        // now test adding to a childless element...
        EndpointReferenceDocument eprDoc = EndpointReferenceDocument.Factory.newInstance();
        EndpointReferenceType epr = eprDoc.addNewEndpointReference();
        ReferencePropertiesType refPropsType = epr.addNewReferenceProperties();
        XmlBeanUtils.addChildElement( refPropsType, elemName );
        childElems = XmlBeanUtils.getChildElements( refPropsType, elemName );
        assertEquals( 1, childElems.length );
    }
View Full Code Here


    * @throws Exception
    */
   private void testResourceID( EndpointReferenceType subMgrEpr )
   throws Exception
   {
      ReferencePropertiesType props = subMgrEpr.getReferenceProperties(  );
      assertNotNull( props );
      assertFalse( props.isNil(  ) );
      XmlCursor propsCursor = props.newCursor(  );
      propsCursor.toChild( MuseAddressingConstants.REFERENCE_PROP_QNAME_RESOURCE_ID );
      String resourceID = propsCursor.getTextValue(  );

      // The actual Resource ID # will be unique so difficult to test exactly.
      // Just make sure it is of the proper form.
View Full Code Here

    private void addReferencePropertyHeaders( SOAPHeader header, EndpointReferenceType consumerEPR )
            throws Exception
    {
        SOAPHeaderElement headerElem;
        ReferencePropertiesType props = consumerEPR.getReferenceProperties();
        if ( props != null )
        {
            XmlCursor cursor = props.newCursor();
            boolean hasAnotherChild = cursor.toFirstChild();
            while ( hasAnotherChild )
            {
                // TODO: the below logic should handle refProps that are complexTypes
                SOAPElement soapElem = XmlBeanUtils.toSOAPElement( cursor.getObject() );
View Full Code Here

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

      ReferencePropertiesType refPropsType = endpointReferenceType.addNewReferenceProperties(  );

      if ( m_referenceProps != null )
      {
         addToProperties( refPropsType, m_referenceProps );
      }
View Full Code Here

         serviceNameType.setPortName( m_servicePortName );
      }

      if ( m_refProps != null )
      {
         ReferencePropertiesType refPropsType = endpointReferenceType.addNewReferenceProperties(  );
         addToHolderType( refPropsType, m_refProps );
      }

      return endpointReferenceType;
   }
View Full Code Here

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

        ReferencePropertiesType referencePropertiesType = endpointReferenceType.addNewReferenceProperties();

        if(m_referenceProps != null)
View Full Code Here

            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

TOP

Related Classes of org.wsI.testing.x2003.x03.log.Log

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.