public void generateCoSignProfile() throws ServiceException {
		Report.trace( "bezzotechcosign", "Entering generateCoSignProfile, passed in binder:", null );
		String s = m_WSC.buildSigProfile( false );
		String s1 = m_binder.getNextFileCounter() + ".xml";
		String s2 = m_binder.getTemporaryDirectory() + s1;
		OutputStreamWriter _out = null;
		try {
			_out = new OutputStreamWriter( new FileOutputStream( s2 ), "UTF8" );
			_out.write( s );
		}
		catch( Exception exception ) {
			m_service.createServiceException( null, exception.getMessage() );
		}
		finally {
			try {
				_out.close();
			}
			catch ( IOException e ) {
				throwFullError( e );
			}
		}
		m_binder.addTempFile( s2 );
		m_binder.putLocal( "primaryFile", s1 );
		m_binder.putLocal( "primaryFile:path", s2 );
		String dRevLabel = m_binder.getLocal( "dRevLabel" );
		if( dRevLabel == null || dRevLabel == "" )
			dRevLabel = "0";
		m_binder.putLocal( "dRevLabel", ( Integer.parseInt( dRevLabel ) + 1 ) + "" );
		if( m_binder.getLocal( "IdcService" ).equals( "COSIGN_CHECKIN_NEW_PROFILE" ) )
			m_cmutils.checkinNew();
		else m_cmutils.checkinSel();

		try {
			Thread t = new Thread();
			t.sleep( Long.parseLong( m_shared.getConfig( "CoSignProfileCheckinDelaySec") ) * 1000 );
		}
		catch ( Exception ignore ) {}
	}