Package org.apache.xmlbeans

Examples of org.apache.xmlbeans.XmlCursor.beginElement()


      cursor.toNextToken();
      cursor.insertNamespace( "wsrm", wsrmNamespace );

      cursor.beginElement( WSRM_CREATE_SEQUENCE, wsrmNamespace );
      cursor.beginElement( "Offer", wsrmNamespace );
      cursor.beginElement( "Identifier", wsrmNamespace );
      cursor.insertChars( "urn:soapui:" + uuid );

      cursor.toParent();
      cursor.toParent();
View Full Code Here


      cursor.toNextToken();
      cursor.insertNamespace( "wsrm", wsrmNamespace );

      cursor.beginElement( WSRM_CREATE_SEQUENCE, wsrmNamespace );
      cursor.beginElement( "Offer", wsrmNamespace );
      cursor.beginElement( "Identifier", wsrmNamespace );
      cursor.insertChars( "urn:soapui:" + uuid );

      cursor.toParent();
      cursor.toParent();
View Full Code Here

      cursor.insertChars( "urn:soapui:" + uuid );

      cursor.toParent();
      cursor.toParent();

      cursor.beginElement( WSRM_ACKNOWLEDGMENTS_TO, wsrmNamespace );
      cursor.insertNamespace( "wsa", WsaUtils.getNamespace( startSequenceRequest.getWsaConfig().getVersion() ) );
      cursor.beginElement( "Address", WsaUtils.getNamespace( startSequenceRequest.getWsaConfig().getVersion() ) );
      if( ackTo == null || ackTo.length() < 1 )
        ackTo = WsaUtils.getNamespace( startSequenceRequest.getWsaConfig().getVersion() ) + "/anonymous" + "?id="
            + uuid;
View Full Code Here

      cursor.toParent();
      cursor.toParent();

      cursor.beginElement( WSRM_ACKNOWLEDGMENTS_TO, wsrmNamespace );
      cursor.insertNamespace( "wsa", WsaUtils.getNamespace( startSequenceRequest.getWsaConfig().getVersion() ) );
      cursor.beginElement( "Address", WsaUtils.getNamespace( startSequenceRequest.getWsaConfig().getVersion() ) );
      if( ackTo == null || ackTo.length() < 1 )
        ackTo = WsaUtils.getNamespace( startSequenceRequest.getWsaConfig().getVersion() ) + "/anonymous" + "?id="
            + uuid;
      cursor.insertChars( ackTo );
      // cursor.insertChars(request.getWsrmConfig().getAckTo());
View Full Code Here

      if( expires != 0 )
      {
        cursor.toParent();

        cursor.beginElement( WSRM_EXPIRES, wsrmNamespace );
        cursor.insertChars( expires.toString() );
      }

      cursor.dispose();
View Full Code Here

        cursor.toNextSibling();

        cursor.toNextToken();
        cursor.insertNamespace( "wsrm", wsrmNamespace );

        cursor.beginElement( WSRM_CLOSE_SEQUENCE, wsrmNamespace );

        cursor.beginElement( WSRM_IDENTIFIER, wsrmNamespace );
        cursor.insertChars( identifier );

        cursor.toParent();
View Full Code Here

        cursor.toNextToken();
        cursor.insertNamespace( "wsrm", wsrmNamespace );

        cursor.beginElement( WSRM_CLOSE_SEQUENCE, wsrmNamespace );

        cursor.beginElement( WSRM_IDENTIFIER, wsrmNamespace );
        cursor.insertChars( identifier );

        cursor.toParent();

        cursor.beginElement( WSRM_LAST_MSG, wsrmNamespace );
View Full Code Here

        cursor.beginElement( WSRM_IDENTIFIER, wsrmNamespace );
        cursor.insertChars( identifier );

        cursor.toParent();

        cursor.beginElement( WSRM_LAST_MSG, wsrmNamespace );
        cursor.insertChars( String.valueOf( lastMsgNum ) );
        cursor.dispose();

        WsaUtils wsaUtils = new WsaUtils( object.xmlText(), soapVersion, null, new DefaultPropertyExpansionContext(
            closeSequenceRequest ) );
View Full Code Here

      cursor.toNextSibling();

      cursor.toNextToken();
      cursor.insertNamespace( "wsrm", wsrmNamespace );

      cursor.beginElement( "TerminateSequence", wsrmNamespace );
      cursor.beginElement( WSRM_IDENTIFIER, wsrmNamespace );
      cursor.insertChars( identifier );

      cursor.dispose();
View Full Code Here

      cursor.toNextToken();
      cursor.insertNamespace( "wsrm", wsrmNamespace );

      cursor.beginElement( "TerminateSequence", wsrmNamespace );
      cursor.beginElement( WSRM_IDENTIFIER, wsrmNamespace );
      cursor.insertChars( identifier );

      cursor.dispose();

      // startSequenceRequest.getOperation().setAction("");
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.